Possible Duplicate:
java cpu usage monitoring
I need to know the CPU Usage at an instance of time in terms of % just like the way the Windows Task Manager shows in its performance tab.
please suggest me some way via Java or some native windows command.
rohit