Sun Microsystems Sun Workstation 100U System Manager's Manual page 159

Table of Contents

Advertisement

AC(8)
MAINTENANCE COMMANDS
AC(8)
NAME
ac - login accounting
SYNOPSIS
/uar/ete/ac (
-w
wtmp ) (
-p ) (
-d
J
I
people) ...
DESCRIPTION
Ac produces a printout giving connect time ror each user who has logged in during the lire or the
current
wImp
file. A total is also produced.
The accounting file
/uIT/adm/wtmp
is
maintained by init and login. Neither of these programs
creates the file, so ir it does not exist no connect-time accounting
is
done. To start accounting, it
should be created with length
o.
On the other hand ir the file is left undisturbed it will grow
without bound, so periodically any information desired should be collected and the file truncated.
OPTIONS
-w
specifies an alternate
wImp
file.
-p
.
prints individual totals; without this option, only totals are printed.
-d
printout for each midnight to midnight period. Any people will limit the printout to only
the specified login names. Ir no
wImp
file is given, /
usr/ adml wImp
is used.
FILES
/usr/311m/wtmp
SEEALSq
iniH8), sa(8), login(l), utrnp(5).
4
Last change: 4 February 1983
Sun Release 1.1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents