Linux nmon Recipe
- Install
nmon
if it's not installed. - Run nmon in the background with a 60 second interval:
sh -c "date >> nohup.out && nohup nmon -fT -s 60 -c 1000000 -t && sleep 1 && cat nohup.out"
- Check for any errors running the above commands in your terminal
- Reproduce the problem.
- To stop collection, kill the nmon process. For example:
pkill -USR2 nmon
- Upload
*.nmon
andnohup.out
For background, see Linux nmon.