File: sa1.8

package info (click to toggle)
sysstat 4.0.4-1woody2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 760 kB
  • ctags: 565
  • sloc: ansic: 4,569; tcl: 586; makefile: 321; sh: 259; perl: 29
file content (55 lines) | stat: -rw-r--r-- 1,273 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
.TH SA1 8 "DECEMBER 1999" Linux "Linux User's Manual" -*- nroff -*-
.SH NAME
sa1 \- Collect and store binary data in the system activity daily data file.
.SH SYNOPSIS
.B /usr/lib/sa/sa1 [
.I interval
.I count
]
.SH DESCRIPTION
The
.B sa1
command is a shell procedure variant of the
.B sadc
command and handles all of the flags and parameters of that command. The
.B sa1
command collects and store binary data in the
.IR /var/log/sa/sa dd
file, where the dd parameter indicates the current day. The
.I interval
and
.I count
parameters specify that the record should be written
.I count
times at
.I interval
seconds. If you do not specify these parameters, a single record is written.

The
.B sa1
command is designed to be started automatically by the cron command.

.SH EXAMPLES
To create a daily record of
.B sar
activities, place the following entry in your root or adm crontab file:

.B 0 8-18 * * 1-5 /usr/lib/sa/sa1 1200 3 &

.SH FILES
.IR /var/log/sa/sa dd
.RS
Indicate the daily data file, where the
.B dd
parameter is a number representing the day of the month.
.SH AUTHOR
Sebastien Godard <sebastien.godard@wanadoo.fr>
.SH SEE ALSO
.BR sar (1),
.BR sadc (8),
.BR sa2 (8),
.BR mpstat (1),
.BR iostat (1),
.BR vmstat (8)

.I http://perso.wanadoo.fr/sebastien.godard/