SCCS-vsn: usr.sbin/sa/sa.8 6.3
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)sa.8 6.2 (Berkeley) %G%
+.\" @(#)sa.8 6.3 (Berkeley) %G%
.\"
.TH SA 8 ""
.UC 4
.SH NAME
sa, accton \- system accounting
.SH SYNOPSIS
.\"
.TH SA 8 ""
.UC 4
.SH NAME
sa, accton \- system accounting
.SH SYNOPSIS
[
.B \-abcdDfijkKlnrstuv
] [
[
.B \-abcdDfijkKlnrstuv
] [
.B \-U
usracctfile ] [ file ]
.PP
.B \-U
usracctfile ] [ file ]
.PP
[ file ]
.SH DESCRIPTION
With an argument naming an existing
[ file ]
.SH DESCRIPTION
With an argument naming an existing
.PP
.I Sa
is able to condense the information in
.PP
.I Sa
is able to condense the information in
which contains a count of the
number of times each command was called and the time resources consumed.
This condensation is desirable because on a large system
which contains a count of the
number of times each command was called and the time resources consumed.
This condensation is desirable because on a large system
can grow by 100 blocks per day.
The summary file is normally read before the accounting file,
so the reports include all available information.
.PP
If a file name is given as the last argument, that file will be treated
as the accounting file;
can grow by 100 blocks per day.
The summary file is normally read before the accounting file,
so the reports include all available information.
.PP
If a file name is given as the last argument, that file will be treated
as the accounting file;
is the default.
.PP
Output fields are labeled: \*(lqcpu\*(rq for the sum of user+system time
is the default.
.PP
Output fields are labeled: \*(lqcpu\*(rq for the sum of user+system time
.TP
s
Merge accounting file into summary file
.TP
s
Merge accounting file into summary file
.TP
S
The following filename is used as the command summary file instead of
.TP
S
The following filename is used as the command summary file instead of
+.I /var/account/savacct.
.TP
U
The following filename is used instead of
.TP
U
The following filename is used instead of
to accumulate the per-user statistics printed by the \-m option.
.dt
.SH FILES
.ta 2i
to accumulate the per-user statistics printed by the \-m option.
.dt
.SH FILES
.ta 2i
-/usr/adm/acct raw accounting
+/var/account/acct raw accounting
-/usr/adm/savacct summary
+/var/account/savacct summary
-/usr/adm/usracct per-user summary
+/var/account/usracct per-user summary
.SH "SEE ALSO"
ac(8), acct(2)
.SH BUGS
.SH "SEE ALSO"
ac(8), acct(2)
.SH BUGS