This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
You can use the ResourceAnalyzer to get this for you and display it -- unfortunately there's not programmatic way to do this in WAS 4.0 -- that is coming in WAS 5.0 with the Performance Management Infrastructure API with JMX. Kyle