Skip to main content

Posts

Showing posts from January, 2010

Collecting data for Performance issues in AIX

The following are the few commands I used heavily for troubleshooting a performance Issue on the AIX servers: 1. tprof: tprof -kes -x sleep 60 This will collect tprof data for 60 seconds and will store it in a file called sleep.prof 2. Collecting data for SPLAT: splat command uses the output create by the trace command to analyze the lock performance on the system where you have multi-threaded applications running. a. Collect trace data: generate gensyms data gensyms > gensyms.out trace -aC all -o trace -3; sleep 60 ; trcstop This will collect trace data for 60 seconds and will generate files starting with trace, trace-1 etc depending on the number of virtual cpus. b. run splat command to analyze the lock performance: splat -sa -da -S100 -i trace -n gensyms.out -o splat.out The final analysis of the lock performance can be found in splat.out. There are various options available for the above commands and also documents in AIX information center on how to inter