title: System Performance using Java
body: <p>I want to find usage of every available processor in system using Java.I have got the number of available processors in system using following:</p>
  
  <pre><code>com.sun.management.OperatingSystemMXBean) ManagementFactory().getOperatingSystemMXBean().getAvailableProcessors();
  </code></pre>
  
  <p>But not able to find usage of every available processor.<br>
  Please suggest some solution.Also i need hard disk usage in a system.</p>