I have a application running in AWS EC2. Now i can just login from console to run the app. I don't have X11 support.
I want to monitor the health of the application running there. CPU usage, heap size, memory leakage etc.
Most of the profilers JConsole,JVisualVM are UI based. And its very difficult to use them for the end user side to monitor the application.
Another one i used is HPROF, but the data generated by it is not readable. it is in so much details.
This -agentlib:hprof=heap=sites doesn't give much data, & -agentlib:hprof=heap=all gives too much data.
I am using jhat to parse the output.
But what i really want is simple info about CPU usage, heap size, memory leakage. Identifying any culprit in my apps etc.
I want the tool to monitor the app, then i will fire my testcases for doing the performance runs. The tool should be able to record the VM stats, and i can download it and view it offline.
Kindly suggest any open source tool that does / matches like the one i need.
Have you considered such tools as JamonApi, java-monitor.com and Probe (on GoogleCode)? JamonApi in particular can be programmatically extended to suit your needs.
Ping & DNS - updated with new look and Ping home screen widget
sumit anand kumar
Joined: Apr 28, 2010
@Rohan : Internet connection is sometimes too slow to do that.
@Dittmer : Yes i use JamonApis, but it only tells the time taken to execute some section of code. But i need something that can tell me CPU utilization & Memory consumptions related data.
Also not sure if i can use java-monitor.com, as my project don't have the privilege of getting outside access.