HP-UX Reference (11i v2 04/09) - 1M System Administration Commands A-M (vol 3)
a
acctsh(1M) acctsh(1M)
data only.
prtacct Can be used to format and print any total accounting (
tacct) file.
shutacct Should be invoked during a system shutdown to turn process accounting off and append a
‘‘reason’’ record to
/var/adm/wtmp
.
startup Should be called by system startup scripts to turn the accounting on whenever the system
is brought up.
turnacct An interface to accton (see acct(1M)) to turn process accounting
on or off. The
switch argument turns accounting off, moves the current
/var/adm/pacct to the
next free name in
/var/adm/pacct
incr then turns accounting back on again. (incr is
a number starting with
1 and incrementing by one for each additional
pacct file.)
turnacct is called by ckpacct, and thus can be run under
cron and used to keep
pacct to a reasonable size.
FILES
/usr/sbin/acct
holds all accounting commands listed in section (1M) of this
manual
/var/adm/fee accumulator for fees
/var/adm/acct/nite
working directory
/var/adm/pacct current file for per-process accounting
/var/adm/pacct* used if
pacct gets large, and during execution of daily
accounting procedure
/usr/sbin/acct/ptecms.awk
contains the limits for exceptional usage by command name
/usr/sbin/acct/ptelus.awk
contains the limits for exceptional usage by login id
/var/adm/acct/sum
summary directory, should be saved
/var/adm/wtmp login/logoff summary
SEE ALSO
acct(1M), acctcms(1M), acctcom(1M), acctcon(1M), acctmerg(1M), acctprc(1M), cron(1M), diskusg(1M),
fwtmp(1M), runacct(1M), acct(2), acct(4), utmp(4).
STANDARDS CONFORMANCE
chargefee: SVID2, SVID3
ckpacct: SVID2, SVID3
dodisk: SVID2, SVID3
lastlogin: SVID2, SVID3
monacct: SVID2, SVID3
prctmp: SVID2, SVID3
prdaily: SVID2, SVID3
prtacct: SVID2, SVID3
shutacct: SVID2, SVID3
startup: SVID2, SVID3
turnacct: SVID2, SVID3
HP-UX 11i Version 2: September 2004 − 2 − Hewlett-Packard Company Section 1M−−15