sa2 man page on OpenDarwin

Man page or keyword search:  
man Server   3202 pages
apropos Keyword Search (all sections)
Output format
OpenDarwin logo
[printable version]

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

NAME
     sa2 — Generate a system activity daily report file.

SYNOPSIS
     /usr/lib/sa/sa2 [-dgpu] [-n mode] [-e time] [-f filename] [-i seconds]
		     [-s time]

DESCRIPTION
     The sa2 command is a shell script used to invoke the system activity
     reporter sar 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 sa2 options are the same as
     those documented in sar(1).

     When sa2 runs, it will also remove data and report files, found in
     /var/log/sa, that are more than one week old.

     The sa2 command is intended to be started by cron.

EXAMPLE CRON ENTRY
     # 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), vm_stat(1), netstat(1), top(1),
     sc_usage(1), fs_usage(1), crontab(1), crontab(5)

Mac OS X			  Jul 25 2003			      Mac OS X
[top]

List of man pages available for OpenDarwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net