Linux nmon Recipe
- Install
nmonif it's not installed. - Run nmon in the background with a 60 second interval:
nohup nmon -fT -U -s 60 -c 1000000 -F diag_nmon_$(hostname)_$(date +"%Y%m%d_%H%M%S").nmon - Reproduce the problem.
- To stop collection, kill the nmon process. For example:
pkill -USR2 -f diag_nmon - Upload
*.nmonandnohup.out
Notes:
- NMONVisualizer is a common tool to analyze nmon files. Note that Linux nmon records time in the local timezone, so the local time zone should be selected when loading in NMONVisualizer.
For background, see Linux nmon.