start nmon at boot

In many cases, it is easiest to just have nmon start when the system starts. The instructions here detail how to do this on both Linux and AIX.


The above script is specific to RedHat Linux variants. Modifications, especially the use of chkconfig and the reference scripts for chcon may be needed on other distributions.

With this setup nmon collects data every 30 seconds and 15 days of logs are retained in /var/log/nmon/old.


AIX supports daily nmon collection out of the box. Run smit topas to start smit.

There should now be an nmon file in /etc/perf/daily.

To stop nmon collection, run smit topas. Then select Stop Recording → Stop Persistent Recording → Stop Persistent local nmon Record.