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