Getting CPU Usage into my java program.
I am looking for a way to get and display the CPU usage in my JAVA program.
- is there any may doing it programmly?
- or is there any external tool (in the JDK) which i can use to get the cpu usage
if there is how am i communicate with the tool?