1 .\"Portions Copyright (c) 1999-2003 Apple Computer, Inc. All Rights
4 .\"This file contains Original Code and/or Modifications of Original Code
5 .\"as defined in and that are subject to the Apple Public Source License
6 .\"Version 2.0 (the 'License'). You may not use this file except in
7 .\"compliance with the License. Please obtain a copy of the License at
8 .\"http://www.opensource.apple.com/apsl/ and read it before using this
11 .\"The Original Code and all software distributed under the License are
12 .\"distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
13 .\"EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
14 .\"INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
15 .\"FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
16 .\"Please see the License for the specific language governing rights and
17 .\"limitations under the License.
20 .Dd Jul 25 2003 \" DATE
21 .Dt sa1 8 \" Program name and manual section number
23 .Sh NAME \" Section Header - required - don't modify
25 .Nd Generate a system activity daily data file.
26 .Sh SYNOPSIS \" Section Header - required - don't modify
29 .Sh DESCRIPTION \" Section Header - required - don't modify
32 command is a shell script used to invoke the system
33 activity data collector,
35 The binary sample data is collected at intervals
37 seconds apart, in a loop
40 The binary sample data is written to the standard
45 represents the current day of the month.
46 .Pp \" Inserts a space
48 is intended to be started by cron.
49 .Sh EXAMPLE CRON ENTRY
51 # Starting at 8am collect system activity records
52 # every 20 minutes for 12 hours
53 # 20 minutes = 1200 seconds
54 # 12 hours with 3 samples each hour = 36 loops
56 0 8 * * 1-5 /usr/lib/sa/sa1 1200 36
59 # After the 12 hour period,
60 # collect a system activity report
62 30 20 * * 1-5 /usr/lib/sa/sa2 -A
66 .Sh FILES \" File used or created by the topic of the man page
67 .Bl -tag -width "/var/log/sa/sadd" -compact
68 .It Pa /var/log/sa/sadd
69 Default daily activity file that holds the binary sampling data.
71 are digits that represent the day of the month.
74 .\" List links in ascending order by section, alphabetically within a section.