AIX lparstat Recipe

  1. Run lparstat in the background with a 5 second interval:
    nohup lparstat -t 5 > diag_lparstat_$(hostname)_$(date +%Y%m%d_%H%M%S).txt &
  2. Reproduce the problem.
  3. To stop collection, kill the lparstat process. For example:
    ps -ef | grep "lparstat -t" | grep -v grep | awk '{print $2}' | xargs kill
  4. Upload diag_lparstat_*

For background, see AIX lparstat.