How to Set Up sar


Contents

About this document
Error messages
How to set up sar data files

About this document

This document applies to AIX Version 4.

Error messages


How to set up sar data files

  1. Log in as root and enter su - adm.
  2. Enter crontab -e.
  3. Uncomment the following lines by removing the # sign from the front of each 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 & 
    
  4. Uncomment the following line in the /etc/rc file:
    #/bin/su - root -c /usr/lib/sa/sadc /usr/adm/sa/sa`date  +%id`
    
  5. Reboot the system. This will turn on the data collection programs the sar command uses for displaying data.



[ Doc Ref: 90605221714618     Publish Date: Jan. 24, 2001     4FAX Ref: 2446 ]