command summary from per-process accounting records
/usr/lib/acct/acctcms [-a [-p] [-o]]
[-c] [-j] [-n] [-s] [-t]
reads one or more
normally in the form described in
It adds all records for processes that
executed identically-named commands,
and writes them to the standard output,
normally using an internal summary format.
The options are:
Print output in
rather than in the internal summary format.
The output includes command name,
number of times executed,
total real minutes,
mean size (in K),
minutes per invocation, ``hog factor,''
characters transferred, and blocks read and written, as in
Output is normally sorted by total kcore-minutes.
Sort by total
time, rather than total kcore-minutes.
Combine all commands invoked only once under ``***other.''
Sort by number of command invocations.
Any filenames encountered hereafter are already in internal summary format.
Process all records as total accounting records.
The default internal summary format splits
each field into prime and non-prime
This option combines the prime and non-prime time parts into a
single field that is the total of both,
and provides upward compatibility with old
(that is, pre-UNIX System V Release 4.0)
internal summary format records.
The following options may be used only with
Output a prime-time-only command summary.
Output a non-prime (offshift) time only command summary.
are used together,
a combination prime and non-prime time report
All the output summaries will
be total usage except
number of times executed, CPU minutes,
and real minutes, which will
be split into prime and non-prime.
A typical sequence for performing daily command accounting and
maintaining a running total is:
acctcms file ... > today
cp total previoustotal
acctcms -s today previoustotal > total
acctcms -a -s today
Unpredictable output results if
is used on new style internal summary format files,
or if it is not used with old style internal summary format files.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004