AIX: check CPU usage with topas, svmon and iostat
Memo to identify CPU, memory and disk hogs on AIX.
A quick memo to find what is using CPU on an AIX system.
1. Running processes
topas shows system activity, including CPU per process. topas -P shows the process list.
topas
topas -P
2. Memory of heavy processes
svmon -P shows memory usage per process.
svmon -P
3. Disks
Applications slow down when a disk is more than 80% busy. Check it with:
filemon
nmon
iostat
Notes
- Stopping an unneeded process lowers the load, but be 100% sure it is not in use before killing it, especially in production.
- Tuning parameters exist for logical volumes (LV) and physical volumes (PV).