title: OperatingSystemMXBean getProcessCpuTime() in JDK7+
body: <p>I see code for jdk6 that has the following OperatingSystemMXBean method :</p>
  
  <pre><code>OperatingSystemMXBean osbean = 
      (OperatingSystemMXBean)      ManagementFactory.getOperatingSystemMXBean();
  
  long prevProcessCpuTime = osbean.getProcessCpuTime();
  </code></pre>
  
  <p>In the JDK7 docs there appears not to be any mention of them.  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/management/OperatingSystemMXBean.html" rel="nofollow noreferrer">http://docs.oracle.com/javase/7/docs/api/java/lang/management/OperatingSystemMXBean.html</a></p>
  
  <p><a href="https://i.stack.imgur.com/jl64q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jl64q.png" alt="enter image description here"></a></p>
  
  <p>Are there any equivalents to the jdk6 method elsewhere in the jdk7+ ?</p>