Manual Pages for UNIX Darwin command on man sa2
MyWebUniversity

Manual Pages for UNIX Darwin command on man sa2

sa2(8) BSD System Manager's Manual sa2(8)

NAME

ssaa22 - Generate a system activity daily report file.

SYNOPSIS

//uussrr//lliibb//ssaa//ssaa22 [-ddggppuu] [-nn mode] [-ee time] [-ff filename] [-ii seconds]

[-ss time]

DESCRIPTION

The ssaa22 command is a shell script used to invoke the system activity reporter ssaarr for purposes of generating the standard default daily report

file. The report file generated is, /var/log/sa/sardd where the dd rep-

resents the current day of the month. The ssaa22 options are the same as those documented in ssaarr((11)). When ssaa22 runs, it will also remove data and report files, found in /var/log/sa, that are more than one week old. The ssaa22 command is intended to be started by cron. EEXXAAMMPPLLEE CCRROONN EENNTTRRYY

# Starting at 8am collect system activity records

# every 20 minutes for 12 hours

# 20 minutes = 1200 seconds

# 12 hours with 3 samples each hour = 36 loops

0 8 * * 1-5 /usr/lib/sa/sa1 1200 36

# After the 12 hour period,

# collect a system activity report

30 20 * * 1-5 /usr/lib/sa/sa2 -A

FILES /var/log/sa/sardd Default daily report file. /var/log/sa/sadd Default daily data file. dd are digits that represent the day of the month.

SEE ALSO

sa1(8), sadc(8), sar(1), iostat(8), vmstat(1), netstat(1), top(1), scusage(1), fsusage(1), crontab(1), crontab(5) Mac OS X Jul 25 2003 Mac OS X




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™