"Fossies" - the Fresh Open Source Software Archive

Member "sysstat-12.2.2/man/sa2.in" (1 May 2020, 1653 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. See also the last Fossies "Diffs" side-by-side code changes report for "sa2.in": 12.0.6_vs_12.2.0.

    1 .TH SA2 8 "JULY 2018" Linux "Linux User's Manual" -*- nroff -*-
    2 .SH NAME
    3 sa2 \- Create a report from the current standard system activity daily data file.
    4 .SH SYNOPSIS
    5 .B @SA_LIB_DIR@/sa2
    6 .SH DESCRIPTION
    7 The
    8 .B sa2
    9 command is a shell procedure variant of the
   10 .B sar
   11 command which writes a daily report in the
   12 .I sarDD
   13 or the
   14 .I sarYYYYMMDD
   15 file, where YYYY stands for the current year, MM for the current month
   16 and DD for the current day.
   17 By default the report is saved in the
   18 .I @SA_DIR@
   19 directory.
   20 The
   21 .B sa2
   22 command will also remove reports more than one week old by default.
   23 You can however keep reports for a longer (or a shorter) period by setting
   24 the
   25 .B HISTORY
   26 environment variable. Read the
   27 .BR sysstat (5)
   28 manual page for details.
   29 
   30 The
   31 .B sa2
   32 command accepts most of the flags and parameters of the
   33 .B sar
   34 command.
   35 
   36 The
   37 .B sa2
   38 command is designed to be started automatically by the cron command.
   39 
   40 .SH EXAMPLES
   41 To run the
   42 .B sa2
   43 command daily, place the following entry in your root crontab file:
   44 
   45 .B 5 19 * * 1-5 @SA_LIB_DIR@/sa2 -A
   46 
   47 This will generate by default a daily report called
   48 .I sarDD
   49 in the
   50 .I @SA_DIR@
   51 directory, where the DD parameter is a number representing the day of the
   52 month.
   53 .SH FILES
   54 .I @SA_DIR@/sarDD
   55 .br
   56 .I @SA_DIR@/sarYYYYMMDD
   57 .RS
   58 The standard system activity daily report files and their default location.
   59 YYYY stands for the current year, MM for the current month and DD for the
   60 current day.
   61 .SH AUTHOR
   62 Sebastien Godard (sysstat <at> orange.fr)
   63 .SH SEE ALSO
   64 .BR sar (1),
   65 .BR sadc (8),
   66 .BR sa1 (8),
   67 .BR sadf (1),
   68 .BR sysstat (5)
   69 
   70 .I https://github.com/sysstat/sysstat
   71 
   72 .I http://pagesperso-orange.fr/sebastien.godard/