Using Oprofile to Aid in Troubleshooting High Load on Servers or Clients

Using Oprofile to aid in troubleshooting high load on Servers or Clients
Solution ID: 23
Created: 7/8/2008
DETAILS:
The following is the oprofile.sh script Wayne P. wrote to troubleshoot high load at
nWave. The critical piece to this is to copy the correct debug kernel version to the
customer server's /usr/src directory for oprofile to call. Most of the debug kernels
can be found on our ftp server in outgoing/utils/Crash/. Once the script
completes, grab oprofile.log and oprofile-summary.log from / for detailed server
CPU load analysis.
depmod
uname -r
opcontrol --reset
opcontrol --start --vmlinux=/usr/src/vmlinux-2.6.9-55.ELsmp.x86_64.CRASH
sleep 30
opcontrol --stop
opcontrol --dump
opreport -l -p /lib/modules/2.6.9-55.ELsmp/kernel > oprofile.log
opreport -l > oprofile-summary.log
IBRIX_S00000023.pdf
Last modified: 7/8/2008

Summary of content (1 pages)