BSD 2 development
[unix-history] / man / last.u
CommitLineData
f5de64af
HK
1.TH LAST UCB 2/24/79 UCB
2.SH NAME
3last \- indicate last logins of users and teletypes
4.SH SYNOPSIS
5.B last
6[
7name ...
8] [
9tty ...
10]
11.SH DESCRIPTION
12.I Last
13will look back in the
14.I wtmp
15file which records all logins and logouts for information about
16a user, a teletype or any group of users and teletypes.
17Arguments specify names of users or teletypes of interest.
18Names of teletypes may be given fully or abbreviated.
19For example `last 0' is the same as `last tty0'.
20If multiple arguments are given, the information which applies
21to any of the arguments is printed. For example `last root console'
22would list all of "root's" sessions as well as all sessions
23on the console terminal.
24.I Last
25will print the sessions of the specified users and teletypes,
26most recent first, indicating the times at which the session
27began, the duration of the session, and the teletype which the
28session took place on.
29If the session is still continuing or was cut short by a crash,
30.I last
31so indicates.
32.PP
33The teletype
34.B tty~
35records the crashes of the system; thus
36.DT
37.PP
38 last tty~
39.PP
40will give an indication of the reliability of the system.
41.PP
42.I Last
43with no arguments prints a record of all logins and logouts, in
44reverse order.
45.PP
46If
47.I last
48is interrupted, it indicates how far the search has progressed
49in
50.I wtmp.
51.SH FILES
52.DT
53/usr/adm/wtmp login data base
54.SH SEE\ ALSO
55ac(1m), wtmp(5), saveboottime(UCB)
56.SH AUTHOR
57Howard Katseff
58.SH BUGS