Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ acctcms(1M) — GL2 W2.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

acct(1M)

acctcom(1)

acctcon(1M)

acctmerg(1M)

acctprc(1M)

acctsh(1M)

fwtmp(1M)

runacct(1M)

acct(2)

acct(4)

utmp(4)

ACCTCMS(1M)  —  Silicon Graphics

NAME

acctcms − command summary from per-process accounting records

SYNOPSIS

/usr/lib/acct/acctcms [options] files

DESCRIPTION

Acctcms 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. The options are:

−a 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, and “hog factor”, as in acctcom(1). Output is normally sorted by total kcore-minutes.

−c Sort by total CPU time, rather than total kcore-minutes. 

−j Combine all commands invoked only once under “∗∗∗other”. 

−n Sort by number of command invocations. 

−s Any file names encountered hereafter are already in internal summary format. 

EXAMPLE

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

SEE ALSO

acct(1M), acctcom(1), acctcon(1M), acctmerg(1M), acctprc(1M), acctsh(1M), fwtmp(1M), runacct(1M), acct(2), acct(4), utmp(4). 

Version 2.4  —  May 08, 1986

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