Monitoring Compute Node Activity
Step 1) Inside your batch job submission script, include the following prior to calling your executable or mpirun statement. In this example, t he "5" represents the interval between each run of mpstat, and the "100" is the number of times the command will be run.
unbuffer mpstat 5 100 > /u1/uaf/username/cpu_activity.log &
Step 2) After your job launches, monitor your process activity log by running the following on a login node:
tail -f /u1/uaf/username/cpu_activity.log
For more information regarding available mpstat options, view the "man mpstat" manual page.