~ubuntu-branches/ubuntu/karmic/sysstat/karmic

« back to all changes in this revision

Viewing changes to man/sadc.in

  • Committer: Bazaar Package Importer
  • Author(s): Robert Luberda
  • Date: 2007-10-08 23:55:13 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20071008235513-b88rmqx6aigra3zd
Tags: 8.0.1-1
New upstream version (stable).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH SADC 8 "APRIL 2007" Linux "Linux User's Manual" -*- nroff -*-
 
1
.TH SADC 8 "JULY 2007" Linux "Linux User's Manual" -*- nroff -*-
2
2
.SH NAME
3
3
sadc \- System activity data collector.
4
4
.SH SYNOPSIS
5
 
.B @SA_LIB_DIR@/sadc [ -d ] [ -F ] [ -I ] [ -L ] [ -V ] [
 
5
.B @SA_LIB_DIR@/sadc [ -C
 
6
.I comment
 
7
.B ] [ -d ] [ -F ] [ -I ] [ -L ] [ -V ] [
6
8
.I interval
7
9
.B [
8
10
.I count
42
44
.I interval
43
45
and
44
46
.I count
45
 
are not specified, a dummy record, which is used at system startup to mark
 
47
are not specified, and option -C is not used,
 
48
a dummy record, which is used at system startup to mark
46
49
the time when the counter restarts from 0, will be written.
47
50
For example, one of the system startup script may write the restart mark to
48
51
the daily data file by the command entry:
60
63
command only reports on local activities.
61
64
 
62
65
.SH OPTIONS
 
66
.IP "-C comment"
 
67
When both the
 
68
.I interval
 
69
and
 
70
.I count
 
71
parameters are not specified, tell sadc to write a dummy record containing
 
72
a comment specified by the string
 
73
.IR comment .
63
74
.IP -d
64
75
Tell
65
76
.B sadc
93
104
.B sadc
94
105
process were also writing to the file. This can happen when cron is used
95
106
to launch
96
 
.B sadc .
 
107
.BR sadc .
97
108
If the system is under heavy load, an old
98
109
.B sadc
99
110
might still be running when cron starts a new one. Without locking,
121
132
.B @SA_LIB_DIR@/sadc 1 10 /tmp/datafile
122
133
.RS
123
134
Write 10 records of one second intervals to the /tmp/datafile binary file.
 
135
.RE
 
136
 
 
137
.B @SA_LIB_DIR@/sadc -C Backup_Start /tmp/datafile
 
138
.RS
 
139
Insert the comment Backup_Start into the file /tmp/datafile.
 
140
.RE
124
141
.SH BUGS
125
142
.I /proc
126
143
filesystem must be mounted for the
139
156
.IR /proc
140
157
contains various files with system statistics.
141
158
.SH AUTHOR
142
 
Sebastien Godard (sysstat <at> wanadoo.fr)
 
159
Sebastien Godard (sysstat <at> orange.fr)
143
160
.SH SEE ALSO
144
161
.BR sar (1),
145
162
.BR sa1 (8),