title: Monitoring system resource use for Java
body: <p>I am trying to prepare some statistics on the CPU and Memory usage (over time) of a Java application running on a Windows XP machine. </p>
  
  <p>Is there a (free) tool that would let me obtain these statistics? Most of the tools I looked at either profile the existing code for CPU and Heap usage - but do not provide a view the process itself (from a systems point of view). </p>
  
  <p>I tried using <a href="http://www.alphaworks.ibm.com/tech/pat4j" rel="noreferrer">IBM Performance Analysis Tool for Java</a> but this does not seem to provide a straightforward metric of determining the amount of memory the process is consuming (similar to the ProcessExplorer tool). </p>
  
  <p>Any pointers would be much appreciated.</p>
  
  <p>Kind regards,
  Dinuk</p>