SUMMARY: Question about sar.

From: Chris Bryant <cbryant_at_dollar.com>
Date: Thu, 08 Nov 2001 08:15:42 -0600

Thanks to Mandell Degerness, Gavin Kreuither, Vince D'Antonio, Jim Belonis,
Dennis Sylvester, Jesper Frank Nemholt, and Joe Fletcher for their
responses. It was Mandell Degerness, Gavin Kreuither, and Vince D'Antonio's
suggestions that worked.
 
Mandell Degerness - You need to have started to record the information (man
sa) before you are able to report on the information.
 
Gavin Kreuither -
The directory /var/adm/sa is not created by default -- create it!.
 
To run sar interactively, you simply need to ads a sleep period and loop
count:
 
    sar 5 5
    sar -d 10 2
 
etc. If you want to save data at regular intervals, you need to setup sadc
in cron. Check the man pages (if they are installed!)
 
Gavin
 
Vince D'Antonio -

you need to create the directories and put this in your crontab:

# collect Sar data

0 * * * * /usr/opt/svr4/usr/lib/sa/sa1

24,40 8-17 * * 1-5 /usr/opt/svr4/usr/lib/sa/sa1

 

I made sure all the directories were created, put Vince's suggestion in the
cron and let it collect data overnight. This morning I checked sar and it
worked.

 

Thanks again,

Chris Bryant
Unix Administrator
Dollar Rent A Car
(918) 669-3213

-----Original Message-----
From: Chris Bryant [mailto:cbryant_at_dollar.com]
Sent: Wednesday, November 07, 2001 3:23 PM
To: Tru64 Unix (E-mail)
Subject: Question about sar.



Admins,

        I have installed the Extended_System_V software from the associated
products CD and am trying to use sar. When trying to run sar from the
command line, I get the following error: Can't open /var/adm/sa/sa07. This
is a 5.1 system on various hardware, since this is happening on all my 5.1
systems there should not be any hardware complications, I hope. Does
anybody have any idea how I can get this resolved?

TIA,

Chris Bryant
Unix Administrator
Dollar Rent A Car
(918) 669-3213
Received on Thu Nov 08 2001 - 14:14:54 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT