]> granicus.if.org Git - sysstat/commitdiff
sa1 manual page updated.
authorSebastien Godard <sysstat@orange.fr>
Wed, 8 Feb 2012 06:54:10 +0000 (07:54 +0100)
committerSebastien Godard <sysstat@orange.fr>
Wed, 8 Feb 2012 06:54:10 +0000 (07:54 +0100)
Give a better example (in the EXAMPLE section) of how to use sa1 shell
script. In particular, tell that option -S from sadc can be used with sa1.

CHANGES
man/sa1.in

diff --git a/CHANGES b/CHANGES
index f7183d68dd875f84c4b1b0e71145be0b6eac0512..f483cb79b19e327a7fcd55ddad564f930065ac69 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -8,7 +8,8 @@ xxxx/xx/xx: Version 10.0.4 - Sebastien Godard (sysstat <at> orange.fr)
          This is now fixed.
        * configure script updated: Added --disable-stripping option.
          Using this option tells configure to NOT strip object files.
-       * FAQ updated.
+       * FAQ updated.  
+       * sa1 manual page updated.
        * NLS updated. Serbian translation added.
 
 2011/11/27: Version 10.0.3 - Sebastien Godard (sysstat <at> orange.fr)
index 7da22287c3b9e871f64dc85a0f6a76cf9ca53ae1..7bd2b5861a4cb71a96f147beb37f8ed9cd136dd1 100644 (file)
@@ -1,4 +1,4 @@
-.TH SA1 8 "SEPTEMBER 2010" Linux "Linux User's Manual" -*- nroff -*-
+.TH SA1 8 "FEBRUARY 2012" Linux "Linux User's Manual" -*- nroff -*-
 .SH NAME
 sa1 \- Collect and store binary data in the system activity daily data file.
 .SH SYNOPSIS
@@ -44,12 +44,11 @@ and
 parameters in order to insert a dummy record, marking the time when the counters
 restarts from 0.
 
-.SH EXAMPLES
-To create a daily record of
-.B sar
-activities, place the following entry in your root or adm crontab file:
+.SH EXAMPLE
+To collect data (including those from disks) every 10 minutes,
+place the following entry in your root crontab file:
 
-.B 0 8-18 * * 1-5 @SA_LIB_DIR@/sa1 1200 3 &
+.B 0,10,20,30,40,50 * * * * @SA_LIB_DIR@/sa1 1 1 -S DISK
 
 .SH FILES
 .IR @SA_DIR@/sa dd