up | Inhaltsverzeichniss | Kommentar

Manual page for ACCTCMS(8)

acctcms - command summary from per-process accounting records


/usr/lib/acct/acctcms [ -cjnst ] filename...

/usr/lib/acct/acctcms [ -a [ po ] [ cjnstpo ] filename...


acctcms reads one or more filenames, normally in the form described in acct.5 It adds all records for processes that executed identically-named commands, sorts them, and writes them to the standard output, normally using an internal summary format.


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 minutes, mean size (in K), mean CPU minutes per invocation, ``hog factor'', characters transferred, and blocks read and written, as in acctcom.1 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 ``***other''.
Sort by number of processes.
Any file names 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 time parts. This option combines the prime and non-prime time parts into a single field that is the total of both.

The following options may be used only with the -a option.

Output a prime-time-only command summary.
Output a non-prime (offshift) time only command summary.

When -p and -o are used together, a combination prime and non-prime time report is produced. 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 for maintaining a running total is:

acctcms file ... >today
cp total previoustotal
acctcms -s today previoustotal >total
acctcms -a -s today


acctcom.1 acct.2v acct.5 utmp.5v acct.8 acctcon.8 acctmerg.8 acctprc.8 acctsh.8 fwtmp.8 runacct.8


Unpredictable output results if -t is used on new style internal summary format files, or if it is not used with old style internal summary format files.

index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).

Last modified 21/April/97