summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ac
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-01-21 17:25:12 +0000
committered <ed@FreeBSD.org>2010-01-21 17:25:12 +0000
commitb28da9a61e28e861700fcb32723aff38ecdf76a5 (patch)
tree47f6d3342be9519d56146811f6d92bd8dadf99b0 /usr.sbin/ac
parentf79d0f71d84e1129afe418139af4233669d52f17 (diff)
downloadFreeBSD-src-b28da9a61e28e861700fcb32723aff38ecdf76a5.zip
FreeBSD-src-b28da9a61e28e861700fcb32723aff38ecdf76a5.tar.gz
Remove stale references to utmp(5) and its corresponding filenames.
I removed utmp and its manpage, but not other manpages referring to it.
Diffstat (limited to 'usr.sbin/ac')
-rw-r--r--usr.sbin/ac/ac.818
1 files changed, 9 insertions, 9 deletions
diff --git a/usr.sbin/ac/ac.8 b/usr.sbin/ac/ac.8
index efe3e23..34484ab 100644
--- a/usr.sbin/ac/ac.8
+++ b/usr.sbin/ac/ac.8
@@ -45,7 +45,7 @@
.Op Ar users ...
.Sh DESCRIPTION
If the file
-.Pa /var/log/wtmp
+.Pa /var/log/utx.log
exists, a record of individual login and logout
times are written to it by
.Xr login 1
@@ -86,7 +86,7 @@ flags may be specified.
Read connect time data from
.Ar wtmp
instead of the default file,
-.Pa /var/log/wtmp .
+.Pa /var/log/utx.log .
.It Ar users ...
Display totals for the given individuals only.
.El
@@ -95,20 +95,20 @@ If no arguments are given,
.Nm
displays the total connect time for all
accounts with login sessions recorded in
-.Pa wtmp .
+.Pa utx.log .
.Pp
The default
-.Pa wtmp
+.Pa utx.log
file will increase without bound unless it is truncated.
It is normally truncated by the daily scripts run
by
.Xr cron 8 ,
which rename and rotate the
-.Pa wtmp
+.Pa utx.log
files, keeping a week's worth of data on
hand.
No login or connect time accounting is performed if
-.Pa /var/log/wtmp
+.Pa /var/log/utx.log
does not exist.
.Pp
For example,
@@ -122,15 +122,15 @@ allows times recorded in
to be charged out at a different rate than
.Pa other .
.Sh FILES
-.Bl -tag -width /var/log/wtmp -compact
-.It Pa /var/log/wtmp
+.Bl -tag -width /var/log/utx.log -compact
+.It Pa /var/log/utx.log
connect time accounting file
.El
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr login 1 ,
-.Xr utmp 5 ,
+.Xr getutxent 3 ,
.Xr init 8 ,
.Xr sa 8
.\" .Sh NOTES
OpenPOWER on IntegriCloud