I see code for jdk6 that has the following OperatingSystemMXBean method :
OperatingSystemMXBean osbean =
(OperatingSystemMXBean) ManagementFactory.getOperatingSystemMXBean();
long prevProcessCpuTime = osbean.getProcessCpuTime();
In the JDK7 docs there appears not to be any mention of them. http://docs.oracle.com/javase/7/docs/api/java/lang/management/OperatingSystemMXBean.html
Are there any equivalents to the jdk6 method elsewhere in the jdk7+ ?