ACCTCMS(8) | Maintenance Commands and Procedures | ACCTCMS(8) |
acctcms - command summary from process accounting records
/usr/lib/acct/acctcms [-a [-o] [-p]] [-c] [-j] [-n] [-s]
[-t] filename...
acctcms reads one or more filenames, normally in the form described in acct.h(3HEAD). 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.
-a
Use the following options only with the -a option:
-o
-p
When -o and -p are used together, a combination prime-time 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.
-c
-j
-n
-s
-t
Example 1 Using the acctcms command.
A typical sequence for performing daily command accounting and for maintaining a running total is:
example% acctcms filename ... > today example% cp total previoustotal example% acctcms -s today previoustotal > total example% acctcms -a -s today
acctcom(1), acct(2), acct.h(3HEAD), utmpx(5), attributes(7), 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.
February 22, 1999 | OmniOS |