Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ accton(1M) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

acctcom(1M)

acctcms(1M)

acctcon(1M)

acctmerg(1M)

acctprc(1M)

acctsh(1M)

diskusg(1M)

fwtmp(1M)

runacct(1M)

acct(2)

acct(4)

utmp(4)




acct(1M) acct(1M)
NAME acctdisk, acctdusg, accton, acctwtmp - present an overview of accounting commands SYNOPSIS acctdisk acctdusg [-p file] [-u file] accton [file] acctwtmp reason ARGUMENTS file Specifies an existing file to which the process accounting records will be appended (see acct(2) and acct(4)). -p file Specifies a password file other than /etc/passwd (see diskusg(1M)). reason Specifies a string of up to 11 characters, numbers, $, or spaces. For example, the following are suggestions for reboot and shutdown procedures, respectively: acctwtmp `uname` >> /etc/wtmp acctwtmp "file save" >> /etc/wtmp -u file Places records that acctdusg doesn't charge anyone for in file. This is a potential way to find users trying to avoid disk charges. DESCRIPTION acctdisk reads lines containing user ID, login name, and number of disk blocks and converts them to total accounting records that can be merged with other accounting records. acctdusg reads its standard input (usually from find -print) and computes consumption of disk resource (including indirect blocks) by login. accton turns process accounting off. acctwtmp writes a utmp(4) record containing the time and a reason to its standard output. The record written will be of type ACCOUNTING (see utmp(4)). Accounting software is a set of tools (both C programs and shell procedures) that build accounting systems. The January 1992 1



acct(1M) acct(1M)
acctsh(1M) command describes the shell procedures built on top of the C programs. Connect-time accounting is handled by programs writing records into /etc/utmp, (described in utmp(4)). acctcon describes programs converting /etc/utmp into session and charging records, which acctmerg then summarizes. The A/UX system kernel performs process accounting. When a process terminates, one record per process is written to a file (normally /usr/adm/pacct). The programs in acctprc summarize this data for charging; acctcms summarizes command use. You can examine current process data with acctcom. The acctmerg command merges and summarizes process accounting and connect-time accounting (or any accounting records in the format described in acct(4)) into total accounting records (see tacct format in acct(4)). The prtacct command (see acctsh(1M)) formats accounting records. FILES /usr/adm/pacct Current process accounting file /usr/lib/acct/acctdisk Executable file /usr/lib/acct/acctdusg Executable file /usr/lib/acct/accton Executable file /usr/lib/acct/acctwtmp Executable file /etc/passwd File containing user IDs /usr/lib/acct File containing accounting commands /etc/wtmp Login/logoff summary file SEE ALSO acctcom(1M), acctcms(1M), acctcon(1M), acctmerg(1M), acctprc(1M), acctsh(1M), diskusg(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