Views
SettingUpAccounting
Setting up system activity and command account reporting
On our sgi servers we record cpu usage information and mail daily reports to reports@hpcfinfo.hpcf.upr.edu.
For complete info see the IRIX Admin: Backup, Security, and Accounting book, available online at http://techpubs.sgi.com/
Procedure to set up process accounting:
Install or verify eoe.sw.acct
# chkconfig acct on # /usr/lib/acct/startup # crontab -e
Add the following two lines to the root crontab and save:
# print accounting report 0 3 1-6 if /etc/chkconfig acct; then /usr/lib/acct/prdaily | /usr/sbin/Mail -s "machine accounting report" reports@hpcf.upr.edu; fi
Subsitute your machine name for "machine".
Procedure for activating system activity reports:
Verify that eoe.sw.perf is installed,
# chkconfig sar on # crontab -e
Add the following lines to the root crontab and save:
# Print sar report 52 23 * if /etc/chkconfig sar; then sar | /usr/sbin/Mail -s "machine System Activity" reports@hpcf.upr.edu; fi
Substitute your machine name for "machine".
-- Main.HumbertoOrtiz - 06 Sep 2001
-- Updata.Jose R. Ortiz -01 Aug 2003