summaryrefslogtreecommitdiffstats
path: root/usr.bin/last/last.1
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-10-17 18:26:43 +0000
committerdg <dg@FreeBSD.org>1995-10-17 18:26:43 +0000
commitfb897fab5396fa2b16511052125aa59e2058604a (patch)
tree746c8318bb269f48282b683a4b718674f6a68a29 /usr.bin/last/last.1
parent85b40e7947ac4f883d699d92d617a998830b3592 (diff)
downloadFreeBSD-src-fb897fab5396fa2b16511052125aa59e2058604a.zip
FreeBSD-src-fb897fab5396fa2b16511052125aa59e2058604a.tar.gz
Fixed a bug that caused last(1) to be extremely slow in some cases, and
made other performance improving changes. This improves the performance of last(1) by as much as 32 times in some cases, and in more typical cases is about twice as fast. Added a BUGS section to the manual page to describe the behavior of last(1) when a login shell terminates abnormally (and thus doesn't write a logout record to the wtmp file).
Diffstat (limited to 'usr.bin/last/last.1')
-rw-r--r--usr.bin/last/last.15
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/last/last.1 b/usr.bin/last/last.1
index 27a214d..c746d5b 100644
--- a/usr.bin/last/last.1
+++ b/usr.bin/last/last.1
@@ -117,6 +117,11 @@ login data base
.Xr lastcomm 1 ,
.Xr utmp 5 ,
.Xr ac 8
+.Sh BUGS
+If a login shell should terminate abnormally for some reason, it is likely
+that a logout record won't be written to the wtmp file. In this case,
+.Nm last
+will indicate the logout time as "shutdown".
.Sh HISTORY
.Nm Last
appeared in
OpenPOWER on IntegriCloud