acctcms(1M)acctcms(1M)NAMEacctcms - command summary from per-process accounting records
reads one or more files, normally in the form described in acct(4). It
adds all records for processes that executed identically-named com‐
mands, sorts them, and writes them to the standard output, normally
using an internal summary format.
recognizes the following options:
Print output in
ASCII rather than in the internal summary format. The
output includes command name, number of times executed,
total kcore-minutes, total CPU minutes, total real min‐
utes, mean size (in K), mean CPU minutes per invocation,
``hog factor'', characters transferred, and blocks read
and written, as in acctcom(1M). Output is normally
sorted by total kcore-minutes.
Sort by total
CPU time, rather than total kcore-minutes.
Combine all commands invoked only once under
Sort by number of command invocations.
Any file names encountered hereafter are already in internal
Process all records as total accounting records.
The default internal summary format splits each field
into prime- and non-prime-time parts. This option com‐
bines the prime and non-prime time parts into a single
field that is the total of both, and provides upward
compatibility with old (i.e., UNIX System V) style
internal summary format records.
The following options can be used only with the option.
Output a prime-time-only command summary.
Output a non-prime- (offshift) time only command summary.
When and are used together, a combination prime and non-prime time
report is produced. All the output summaries are total usage except
number of times executed, CPU minutes, and real minutes which are split
into prime and non-prime.
A typical sequence for performing daily command accounting and for
maintaining a running total is:
Unpredictable output results if is used on new-style internal-summary-
format files, or if it is not used with old style internal summary for‐
The process mean memory size may overflow for values greater than
SEE ALSOacct(1M), acctcom(1M), acctcon(1M), acctmerg(1M), acctprc(1M),
acctsh(1M), fwtmp(1M), runacct(1M), acct(2), acct(4), utmp(4).