"Fossies" - the Fresh Open Source Software Archive

Member "sysstat-12.2.2/man/sa1.in" (1 May 2020, 1911 Bytes) of package /linux/misc/sysstat-12.2.2.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 .TH SA1 8 "JULY 2018" Linux "Linux User's Manual" -*- nroff -*-
    2 .SH NAME
    3 sa1 \- Collect and store binary data in the system activity daily data file.
    4 .SH SYNOPSIS
    5 .B @SA_LIB_DIR@/sa1 [ --boot |
    6 .I interval
    7 .I count
    8 .B ]
    9 .SH DESCRIPTION
   10 The
   11 .B sa1
   12 command is a shell procedure variant of the
   13 .B sadc
   14 command and handles all of the flags and parameters of that command. The
   15 .B sa1
   16 command collects and stores binary data in the current standard
   17 system activity daily data file.
   18 
   19 The standard system activity daily data file is named
   20 .I saDD
   21 unless
   22 .BR sadc 's
   23 option
   24 .B -D
   25 is used, in which case its name is
   26 .IR saYYYYMMDD ,
   27 where YYYY stands for the current year, MM for the current month
   28 and DD for the current day. By default it is located in the
   29 .I @SA_DIR@
   30 directory.
   31 
   32 The
   33 .I interval
   34 and
   35 .I count
   36 parameters specify that the record should be written
   37 .I count
   38 times at
   39 .I interval
   40 seconds. If no arguments are given to
   41 .B sa1
   42 then a single record is written.
   43 
   44 The
   45 .B sa1
   46 command is designed to be started automatically by the cron command.
   47 
   48 .SH OPTIONS
   49 .IP --boot
   50 This option tells
   51 .B sa1
   52 that the
   53 .B sadc
   54 command should be called without specifying the
   55 .I interval
   56 and
   57 .I count
   58 parameters in order to insert a dummy record, marking the time when the counters
   59 restart from 0.
   60 
   61 .SH EXAMPLE
   62 To collect data (including those from disks) every 10 minutes,
   63 place the following entry in your root crontab file:
   64 
   65 .B 0,10,20,30,40,50 * * * * @SA_LIB_DIR@/sa1 1 1 -S DISK
   66 
   67 .SH FILES
   68 .I @SA_DIR@/saDD
   69 .br
   70 .I @SA_DIR@/saYYYYMMDD
   71 .RS
   72 The standard system activity daily data files and their default location.
   73 YYYY stands for the current year, MM for the current month and DD for the
   74 current day.
   75 .SH AUTHOR
   76 Sebastien Godard (sysstat <at> orange.fr)
   77 .SH SEE ALSO
   78 .BR sar (1),
   79 .BR sadc (8),
   80 .BR sa2 (8),
   81 .BR sadf (1),
   82 .BR sysstat (5)
   83 
   84 .I https://github.com/sysstat/sysstat
   85 
   86 .I http://pagesperso-orange.fr/sebastien.godard/