How to Set Up sar
 
Contents
About This Document
    Related Documentation
Error Messages
How to Set Up sar Data Files
 
This document is applicable to AIX Version 4. 
The AIX Version 4.3 and RS/6000 product documentation library is also available:
http://www.rs6000.ibm.com/resource/
 
- The following errors indicate that the data collection programs have not been set up 
to collect the data that sar reports. If you see either of the following errors, go 
to step 1 of the "How to Set Up sar Data Files" section in this document.
   sar:0551-201 cannot open /usr/adm/sa/sa12 
or 
   sar:0551-213 try running /usrlib/sa/sa1 
 - If on boot up (or when running the sar command) you see the following error, go 
to step 4 of the "How to Set Up sar Data Files" section.
   sar: 0511-211 specify a positive integer for the time change 
 
 
 
 
- Log in as root and enter su - adm. 
 - Enter crontab -e. 
 - Uncomment the following lines by removing the # sign from the front of the 
line: 
#0 8-17 * * 1-5 /usr/lib/sa/sa1 1200 3 & 
#0 * * * 0,6 /usr/lib/sa/sa1 & 
#0 18-7 * * 1-5 /usr/lib/sa/sa1 & 
#5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 3600 -ubcwyaqvm & 
 - Uncomment the following line in the /etc/rc file: 
#/bin/su - root -c /usr/lib/sa/sadc /usr/adm/sa/sa  `date  +%id` 
 - Reboot the system.  This will turn on the data collection programs the sar 
command uses for displaying data. 
 
 
  
  
How to Set Up sar: how.to.setup.sar.4x.spf ITEM: FAX
Dated: 99/05/10~00:00 Category: spf
This HTML file was generated 99/06/24~12:42:09
Comments or suggestions?
Contact us