search and print process accounting file(s)
acctcom [options] [file ...]
the standard input, or
in the form described by
and writes selected records to the standard output.
Each record represents the execution of one process.
The output shows the
MEAN SIZE (K),
1 for fork without exec),
(the system exit status),
(total blocks read and written).
A ``#'' is prefixed to the command name
if the command was executed by a privileged user.
If a process is not associated with a known terminal,
a ``?'' is printed in the
If no files are specified, and
if the standard input is associated with a terminal
(as is the case when using
in the shell),
is read; otherwise, the standard input is read.
arguments are given,
they are read in their respective order.
Each file is normally read forward, that is, in chronological order
by process completion time.
is usually the current file to be examined;
a busy system may need several such files
of which all but the current file are found in
The options are:
Show some average statistics about the processes selected.
The statistics will be printed after the output records.
Read backwards, showing latest commands first.
This option has no effect when the standard input is read.
flag and system exit status columns in the output.
The numeric output for this option will be in octal.
Instead of mean memory size,
show the fraction of total available
time consumed by the process
during its execution.
This ``hog factor'' is computed as (total CPU time)/(elapsed time).
Print columns containing the I/O counts in the output.
Instead of memory size, show total kcore-minutes.
Show mean core size (the default).
factor [user-time/(system-time + user-time)].
Show separate system and user
Exclude column headings from the output.
Show only processes belonging to terminal
Show only processes belonging to
that may be specified by: a user ID,
a login name
that is then converted to a user ID,
a ``#'' that designates only those processes executed
by a privileged user,
that designates only those processes associated with unknown
The ``#'' and the ``?'' should be typed as ``\#'' and ``\?'',
respectively, to prevent the shell
from interpreting the ``#'' as the start of a comment,
or the ``?'' as a pattern.
Show only processes belonging to
The group may be designated by either the
group ID or group name.
Select processes existing at or after
given in the format
Select processes existing at or before
Select processes starting at or after
Select processes ending at or before
Using the same
shows the processes that existed at
Show only commands matching
that may be a regular expression as in
except ``+'' means one or more occurrences.
Do not print any output records, just print the average statistics as with
Copy selected process records in the input data format to
suppress printing to standard output.
Show only processes that exceed
where factor is the ``hog factor'' as explained in option
Show only processes with
system time exceeding
Show only processes with total
time (system-time + user-time) exceeding
Show only processes transferring more characters than
the cutoff number given by
reports only on processes that have terminated; use
for active processes.
exceeds the present time,
is interpreted as occurring on the previous day.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004