Linux nmon Recipe

  1. Install nmon if it's not installed.
  2. 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
  3. Reproduce the problem.
  4. To stop collection, kill the nmon process. For example:
    pkill -USR2 -f diag_nmon
  5. Upload *.nmon and nohup.out

Notes: