This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



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

NAME
     sadc -- system activity data collector

SYNOPSIS
     /usr/lib/sa/sadc [-m mode] [t n] [ofile]

DESCRIPTION
     The sadc tool is used to collect cumulative system activity data.  The sample system data is collected
     at intervals t seconds apart, in a loop n times.  The binary sample data is written to ofile if speci-fied. specified.
     fied.  Otherwise, the binary data is written to stdout.  If the ofile file does not exist, it is cre-ated, created,
     ated, otherwise it is truncated.

     sadc is intended to be used as the engine behind the sar(1) command, and is not typically invoked on
     the command line.  Two shell scripts, sa1 and sa2, are provided to drive the typical sampling, saving,
     and reporting process.

OPTIONS
     The following options modify the way data is collected by sadc.

     -m mode  Modify the collection of system statistics as specified by mode.  Currently only one mode is
              supported.

              PPP      By default, the collection of ppp network interface statistics is turned off.  This
                       is because the number of ppp connections can be very high, causing the raw data file
                       to grow unexpectedly large, especially  when samples are collected at short inter-vals. intervals.
                       vals.  Use the PPP mode to turn the collection back on.

EXAMPLES
     /usr/lib/sa/sadc 15 20 /tmp/sample.out

     This call collects 20 samples at 15 second intervals.  The binary data is written to the /tmp/sam-ple.out /tmp/sample.out
     ple.out file

FILES
     /var/log/sa/sadd  Default daily activity file that holds the binary sampling data.  dd are digits that
                       represent the day of the month.
     /usr/lib/sa/sa1   Shell script used to drive the sar data collection.
     /usr/lib/sa/sa2   Shell script used to drive the sar data reporting.

SEE ALSO
     fs_usage(1), netstat(1), sar(1), sc_usage(1), top(1), vm_stat(1), iostat(8), sa1(8), sa2(8)

Mac OS X                                         Jul 25 2003                                        Mac OS X

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...