10/30/96,4FAX# 2446
How to Set Up sar
SPECIAL NOTICES
Information in this document is correct to the best of our
knowledge at the time of this writing. Please send feedback
by fax to "AIXServ Information" at (512) 823-4009.
Please use this information with care. IBM will not be
responsible for damages of any kind resulting from its use.
The use of this information is the sole responsibility of
the customer and depends on the customer's ability to eval-
uate and integrate this information into the customer's
operational environment.
ABOUT THIS DOCUMENT
This document is applicable to AIX 3.2.5 and 4.1.
ERROR MESSAGES
If you get errors like:
sar:0551-201 cannot open /usr/adm/sa/sa12
or
sar:0551-213 try running /usrlib/sa/sa1
the data collection programs have not been set up to collect
the data that sar reports.
If you see this error, either on boot up or when running the
sar command:
sar: 0511-211 specify a positive integer for the time change
see step 4 in the next section.
HOW TO SET UP SAR DATA FILES UNDER 3.2
1. Log in as root; then "su - adm".
2. Enter "crontab -e".
3. Uncomment the following lines: (remove 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 &
The lines should now look like this:
How to Set Up sar 1
10/30/96,4FAX# 2446
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 &grave.date +%d&grave.
The line should now look like this:
/bin/su - root -c /usr/lib/sa/sadc /usr/adm/sa/sa &grave.date +%d&grave.
5. Reboot the system; this will turn on the data collection
programs that the sar command uses for displaying data.
How to Set Up sar 2
10/30/96,4FAX# 2446
READER'S COMMENTS
Please fax this form to (512) 823-4009, attention "AIXServ Informa-
tion". You may also e-mail comments to: elizabet@austin.ibm.com.
These comments should include the same customer information requested
below.
Use this form to tell us what you think about this document. If you
have found errors in it, or if you want to express your opinion about
it (such as organization, subject matter, appearance) or make sug-
gestions for improvement, this is the form to use.
If you need technical assistance, contact your local branch office,
point of sale, or 1-800-CALL-AIX (for information about support offer-
ings). These services may be billable. Faxes on a variety of sub-
jects may be ordered free of charge from 1-800-IBM-4FAX. Outside the
U.S. call 415-855-4329 using a fax machine phone.
When you send comments to IBM, you grant IBM a nonexclusive right to
use or distribute your comments in any way it believes appropriate
without incurring any obligation to you.
NOTE: If you have a problem report or item number, supplying that
number may help us determine why a procedure did or did not work in
your specific situation.
Problem Report or Item #: Branch Office or Customer #:
Be sure to print your name and fax number below if you would like a
reply:
Name: Fax Number:
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
END OF DOCUMENT (how.to.setup.sar.lxp, 4FAX# 2446)
How to Set Up sar 3