NMON monitoring in Cron
Runs NMON monitoring tool via CRON at 12.00midnight
Runs on 1st & 15th every month and deletes files after 30 days
0 0 * * * /usr/bin/nmon -ft -l 64 -s 600 -c 144 -m /tmp/nmon
0 0 1,15 * * /usr/bin/find /tmp/nmon/* -mtime +30 -exec rm {} \;
Convert nmon file to html chart with nmon chart tool
Usage: nmonchart input01.nmon output01.html
Download: http://nmon.sourceforge.net/pmwiki.php?n=Site.Nmonchart
Runs on 1st & 15th every month and deletes files after 30 days
0 0 * * * /usr/bin/nmon -ft -l 64 -s 600 -c 144 -m /tmp/nmon
0 0 1,15 * * /usr/bin/find /tmp/nmon/* -mtime +30 -exec rm {} \;
Convert nmon file to html chart with nmon chart tool
Usage: nmonchart input01.nmon output01.html
Download: http://nmon.sourceforge.net/pmwiki.php?n=Site.Nmonchart
0 Comments:
Post a Comment
<< Home