|
|
HP-UX Reference > Aacctcms(1M)HP-UX 11i Version 2: December 2007 Update |
|
NAMEacctcms — command summary from per-process accounting records DESCRIPTIONacctcms reads one or more files, normally in the form described in acct(4). 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. Optionsacctcms recognizes the following options:
The following options can be used only with the -a option.
When -p and -o 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. EXAMPLESA 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 WARNINGSUnpredictable 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. The process mean memory size may overflow for values greater than MAXINT. SEE ALSOacct(1M), acctcom(1M), acctcon(1M), acctmerg(1M), acctprc(1M), acctsh(1M), fwtmp(1M), runacct(1M), acct(2), acct(4), utmp(4). |
|