3 More Discussions You Might Find Interesting
1. Solaris
Hi
I've found this crontab entry to run sa1 on sunOs box but I don't know where the result of this command is being stored. Is there a standard location for this? I assume the command is supposed to be storing the details somewhere..
Thanks (2 Replies)
Discussion started by: Grueben
2 Replies
2. Red Hat
Hi,
I have set up sar on my RedHat and Fedora Linux systems. I am running sa1 from cron:
0 8-17 * * 1-5 /usr/lib/sa/sa1 1200 3 &
The 1200 and 3 parameters tell sa1 to save data every 1200 seconds (== 20 minutes) and to write 3 times.
When I run sar to observe my data, I'll see... (1 Reply)
Discussion started by: mschwage
1 Replies
3. Solaris
Dear All,
Where can i get the Sun Solaris 10 ( SA 1,2, and 3) in pdf ? (4 Replies)
Discussion started by: viswanadhan
4 Replies
SA1(8) Linux User's Manual SA1(8)
NAME
sa1 - Collect and store binary data in the system activity daily data file.
SYNOPSIS
/usr/lib64/sa/sa1 [ --boot | interval count ]
DESCRIPTION
The sa1 command is a shell procedure variant of the sadc command and handles all of the flags and parameters of that command. The sa1 com-
mand collects and stores binary data in the /var/log/sa/sadd file, where the dd parameter indicates the current day. The interval and count
parameters specify that the record should be written count times at interval seconds. If no arguments are given to sa1 then a single record
is written.
The sa1 command is designed to be started automatically by the cron command.
OPTIONS
--boot This option tells sa1 that the sadc command should be called without specifying the interval and count parameters in order to insert
a dummy record, marking the time when the counters restarts from 0.
EXAMPLE
To collect data (including those from disks) every 10 minutes, place the following entry in your root crontab file:
0,10,20,30,40,50 * * * * /usr/lib64/sa/sa1 1 1 -S DISK
FILES
/var/log/sa/sadd
Indicate the daily data file, where the dd parameter is a number representing the day of the month.
AUTHOR
Sebastien Godard (sysstat <at> orange.fr)
SEE ALSO
sar(1), sadc(8), sa2(8), sadf(1), sysstat(5)
http://pagesperso-orange.fr/sebastien.godard/
Linux FEBRUARY 2012 SA1(8)