version 1.11, 1999/06/05 01:21:30 |
version 1.12, 2000/03/08 03:11:30 |
|
|
prints information about all the commands recorded |
prints information about all the commands recorded |
during the current accounting file's lifetime. |
during the current accounting file's lifetime. |
.Pp |
.Pp |
Option: |
The options are as follows: |
.Bl -tag -width Fl |
.Bl -tag -width Fl |
.It Fl f Ar file |
.It Fl f Ar file |
Read from |
Read from |
|
|
by user |
by user |
.Ar root |
.Ar root |
on the terminal |
on the terminal |
.Ar ttyd0 . |
.Ar ttyd0 . |
.Pp |
.Pp |
For each process entry, the following are printed: |
For each process entry, the following are printed: |
.Pp |
.Pp |
|
|
.It |
.It |
Name of the user who ran the process. |
Name of the user who ran the process. |
.It |
.It |
Flags, as accumulated by the accounting facilities in the system. |
Flags, as accumulated by the system's accounting facilities. |
.It |
.It |
Command name under which the process was called. |
Command name under which the process was called. |
.It |
.It |
Amount of cpu time used by the process (in seconds). |
Amount of CPU time used by the process (in seconds). |
.It |
.It |
Time the process started. |
Time the process started. |
.It |
.It |
Elapsed time of the process. |
Elapsed time of the process. |
.El |
.El |
.Pp |
.Pp |
The flags are encoded as follows: ``S'' indicates the command was |
The flags are encoded as follows: |
executed by the super-user, ``F'' indicates the command ran after |
.Sq S |
|
indicates the command was |
|
executed by the superuser, |
|
.Sq F |
|
indicates the command ran after |
a fork, but without a following |
a fork, but without a following |
.Xr exec , |
.Xr exec , |
``C'' indicates the command was run in PDP-11 compatibility mode |
.Sq C |
|
indicates the command was run in PDP-11 compatibility mode |
(VAX only), |
(VAX only), |
``D'' indicates the command terminated with the generation of a |
.Sq D |
|
indicates the command terminated with the generation of a |
.Pa core |
.Pa core |
file, and ``X'' indicates the command was terminated with a signal. |
file, and |
|
.Sq X |
|
indicates the command was terminated with a signal. |
.Sh FILES |
.Sh FILES |
.Bl -tag -width /var/account/acct -compact |
.Bl -tag -width /var/account/acct -compact |
.It Pa /var/account/acct |
.It Pa /var/account/acct |