AIX nmon Recipe

  1. Start nmon with a 60 second interval:
    nohup nmon -fT -s 60 -c 1000000 -o diag_nmon_$(hostname)_$(date +"%Y%m%d_%H%M%S").nmon
  2. Reproduce the problem.
  3. Stop nmon:
    ps -ef | grep diag_nmon | grep -v grep | awk '{print $2}' | xargs kill -USR2
  4. Upload *.nmon and nohup.out

Notes:

  • NMONVisualizer is a common tool to analyze nmon files. Note that AIX nmon defaults to the local timezone (unless -G is used for UTC), so the local time zone should be selected when loading in NMONVisualizer.

For background, see AIX nmon.