Sun Microsystems Sun Workstation 100U System Manager's Manual page 246

Table of Contents

Advertisement

SA(8)
MAINTENANCE COMMANDS
SA(8)
NAME
sa, aceton - system accoun ting
SYNOPSIS
/ USI" /
ete/s. [ -abcdDfJJkKlnl"stuv ) [ file )
/usl"/ete/aeetoD [ file)
DESCRIPTION
With an argument naming an existing file, auton causes system accounting information for every
process executed to be placed at the end of the file. It no argument is given, accounting
is
turned
off.
Sa
reports on, cleans up, and generally maintains accounting files.
Sa is
able to condense the information in /
usr/ adm/ aed
into a summary file /
usr/ adm/ savacct
which contains a count of the number
ot
times each command was called and the time resources
consumed. This condensation is desirable because on a large system
/usr/ adm/ aeet
can grow by
500K bytes per day. The summary file is normally read before the accounting file, so the reports
include all available intormation.
If
a file name is given as the last argument, that file will be treated as the accounting file;
/ usr/ adm/ aeet
is the default.
O'lltput fields are labelled: 'cpu' for the sum of user+ system time (in minutes), are' for real time
(also in minutes), 'k' for cpu-time averaged core usage (in lk units), 'avio' for average number of
I/O operations per execution. With options fields labelled 'tio' tor total I/O operations, 'k*sec'
tor cpu storage integral (kilo-core seconds), au, and's' for user and system cpu time alone (both in
minutes) will sometimes appear.
OPTIONS
a
Place all command names containing unprintable characters and those used only once
under the name '···other.'
b
Sort output by sum
ot
user and system time divided by number
ot
calls. Default sort is
by sum of user and system times.
c
Besides total user, system, and real time tor each command print percentage
ot
total time
over all commands.
d
Sort by average number of disk I/O operations.
D
Print and sort by total number
ot
disk I/O operations.
t
Force no interactive threshold compression with -v flag.
Don't read in summary file.
j
Instead
ot
total minutes time for each category, give seconds per call.
k
Sort by cpu-time average memory usage.
K
Print and sort by cpu-storage integral.
Separate system and user time; normally they are combined.
m
Print number
ot
processes and number of CPU minutes for each user.
n
Sort by number of calls.
r
Reverse order of sort.
s
Merge accounting file into summary file /
usr/ adm/ savacet
when done.
t
For each command report ratio
ot
real time to the sum of user and system times.
u
Superseding all other flags, print for each record in the accounting file the user ID and
command name.
Sun Release 1.1
Last change: 28 October 1983
91

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents