Query: sa1
OS: opendarwin
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
sa1(8) BSD System Manager's Manual sa1(8)NAMEsa1 -- Generate a system activity daily data file.SYNOPSIS/usr/lib/sa/sa1 [t n]DESCRIPTIONThe sa1 command is a shell script used to invoke the system activity data collector, sadc. The binary sample data is collected at intervals t seconds apart, in a loop n times. The binary sample data is written to the standard daily data file, /var/log/sa/sadd where the dd repre- sents the current day of the month. sa1 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 -AFILES/var/log/sa/sadd Default daily activity file that holds the binary sampling data. dd are digits that represent the day of the month.SEE ALSOsa2(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
Related Man Pages |
---|
sa1(1m) - opensolaris |
sa1(8) - debian |
sa2(8) - opendarwin |
sa2(1m) - opensolaris |
sa2(8) - osx |