I want to display the current cup usage and disk usage in two separate JProgressBar
s. And also it should update second by second. How to do it using java? I am quite new to java programming, so please give me some code example.
Thanks in advance.
I want to display the current cup usage and disk usage in two separate JProgressBar
s. And also it should update second by second. How to do it using java? I am quite new to java programming, so please give me some code example.
Thanks in advance.
You can use javasysmon-0.3.4.jar file to get the system related informations as CPU Usage,memory usage etc.
Some of the methods are listed below and if you want something else you can explore.
You Could use tasklist command via this code