Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ acctcms(1M) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

acctcom(1M)

acct(1M)

acctcon(1M)

acctmerg(1M)

acctprc(1M)

acctsh(1M)

fwtmp(1M)

runacct(1M)

acct(2)

acct(4)

utmp(4)




acctcms(1M) acctcms(1M)
NAME acctcms - summarizes commands from per-process accounting records SYNOPSIS /usr/lib/acct/acctcms [-a [-o] [-p]] [-c] [-j] [-n] [-s] [-t] file... ARGUMENTS -a Prints 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(1M). Normally, output is sorted by total kcore-minutes. -c Sorts by total CPU time, rather than total kcore- minutes. file Specifies the file to be read. -j Combines commands invoked only once under ``***other''. -o Outputs a nonprime (offshift) time-only command summary. Used only with the -a option. Using -p and -o together produces a combination prime- and non- prime-time report. The output summaries are total usage, except number of times executed, CPU minutes, and real minutes; these are split into prime and nonprime. -p Outputs a prime-time-only command summary. Used only with the -a option. Using -p and -o together produces a combination prime- and non-prime-time report. The output summaries are total usage, except number of times executed, CPU minutes, and real minutes; these are split into prime and nonprime. -n Sorts by number of command invocations. -s Indicates that file names encountered hereafter are in internal summary format. -t Processes all records as total accounting records. The default internal summary format splits each field into prime- and nonprime-time parts. This option combines the prime- and nonprime-time parts into a single field that totals both, and is compatible with System V style acctcms internal summary format records. January 1992 1



acctcms(1M) acctcms(1M)
DESCRIPTION acctcms reads one or more files, normally in the form described in acct(4). It adds records for processes that executed identically named commands, sorts them, and writes them to the standard output, normally using an internal summary format. EXAMPLE A typical sequence for daily command accounting and maintaining a running total is: acctcms file...> today cp total previous-total acctcms -s today previous-total > total acctcms -a -s today LIMITATIONS You get unpredictable output if you use the -t option on new-style internal summary format files, or if you don't use it with old-style internal summary format files. FILES /usr/lib/acct/acctcms Executable file /usr/lib/acct/holidays File containing list of holidays SEE ALSO acctcom(1M), acct(1M), acctcon(1M), acctmerg(1M), acctprc(1M), acctsh(1M), fwtmp(1M), runacct(1M) acct(2), acct(4), utmp(4) in A/UX Programmer's Reference 2 January 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026