Thursday, July 12, 2012

Performance Monitoring Parameters/Tools for Java Application


Performance Monitoring Parameters/tools for java

Component
Description/Action
Tools/Utilities/
Parameters
/Files
Command Used
Heap Dump Analysis
Capturing Heap Dump
Jmap
javapath/jmap -dump:format=b,file= filename
Analyzing Heap Dump
Hpjmeter,Eclipse Memory Analyzer

Thread Dump Analysis
Capturing thread Dump
jstack
javapath/jstack > filepath
Analyzing Thread Dump
Samurai

GC Log Analysis and Monitoring
GC Log Analysis
Hpjmeter

Real Life GC Monitoring
jmap
java location\jmap -heap instantid
Real Life Monitoring                  
Logs Monitoring
[For Errors/Exceptions]
Catalina.out
tail -f apppath/logs/catalina.out
LocalHost Logs
tail -f apppath/logs/localhostfile
Access Logs
tail -f apppath/logs/accesslogfile
Server Logs
tail -f apppath/logs/serverlogfile
GC Logs
tail -f apppath/logs/gclogfile
Thread Monitoring
[To identify Blocked Threads]
java Melody

Heap usage Monitoring
java Melody

Tomcat Configurations
Configurations settings in Server.xml
maxThread

minSpareThreads

acceptCount

connectionTimeout

Hibernate Configurations
connection pool initialization configurations in Hibernate configuration file
initial_size

min_size

max_size

timeout

idle_test_period



Please fell free to add/update if we have missed anything...

Enjoy Performance Testing !!!!

No comments:

Post a Comment

plz give ur comments !!!!!!