Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Monitoring system resource use for Java

I am trying to prepare some statistics on the CPU and Memory usage (over time) of a Java application running on a Windows XP machine.

Is there a (free) tool that would let me obtain these statistics? Most of the tools I looked at either profile the existing code for CPU and Heap usage - but do not provide a view the process itself (from a systems point of view).

I tried using IBM Performance Analysis Tool for Java but this does not seem to provide a straightforward metric of determining the amount of memory the process is consuming (similar to the ProcessExplorer tool).

Any pointers would be much appreciated.

Kind regards, Dinuk

like image 440
Dinuk Avatar asked Oct 15 '22 16:10

Dinuk


1 Answers

I would highly recommend looking into a tool like Hyperic or zenos. These tools can monitor a Java app in multiple ways; an agent installed on the system, via JMX MBeans, or by SNMP.

like image 62
Rich Kroll Avatar answered Nov 17 '22 11:11

Rich Kroll