I found this older article how-to-monitor-the-computers-cpu-memory-and-disk-usage-in-java and wated to ask, if there is something new in java 7. I want to get the current CPU
I would use the Metrics java library: http://metrics.codahale.com/
It comes with Sigar integration: https://github.com/cb372/metrics-sigar