Skip to main content

JConsole

2 replies [Last post]
hadar1
Offline
Joined: 2010-05-08

Hi,

I need to monitor java application that runs on different platform(Windows,linux,sun).
I need to get cpu usage per process and overall system process.
I see that in JConsole I get this info.

How do I get the cpu usage from JMX (return cpu time)?
How do I get the system cpu usage on windows ?

Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
peter__lawrey
Offline
Joined: 2005-11-01

> How do I get the cpu usage from JMX (return cpu time)?
I suggest you try
http://www.google.co.uk/search?q=jmx+cpu+usage
> How do I get the system cpu usage on windows ?
You can use Task Manager, however its not designed to be used from Java.

mayank_gupta
Offline
Joined: 2010-06-21

Can Any one tell me from where to download the source code for jconsole?
Thanks in advance