Commit | Line | Data |
---|---|---|
738d637a HK |
1 | .th LAST VI 8/25/77 |
2 | .sh NAME | |
3 | last \- indicate last logins of users and teletypes | |
4 | .sh SYNOPSIS | |
5 | .bd last | |
6 | [ | |
7 | .bd \- | |
8 | ] [ | |
9 | name ... | |
10 | ] [ | |
11 | tty ... | |
12 | ] | |
13 | .sh DESCRIPTION | |
14 | .it Last | |
15 | will look back in the | |
16 | .it wtmp | |
17 | file which records all logins and logouts for information about | |
18 | a user, a teletype or any group of users and/or teletypes. | |
19 | A single character argument specifies a teletype of interest, | |
20 | multi-character arguments specify users of interest. | |
21 | .it Last | |
22 | will print the sessions of the specified users and teletypes, | |
23 | most recent first, indicating the times at which the session | |
24 | began, the duration of the session, and the teletype which the | |
25 | session took place on. | |
26 | If the session is still continuing or was cut short by a crash, | |
27 | .it last | |
28 | so indicates. | |
29 | .s3 | |
30 | The teletype | |
31 | .bd ~ | |
32 | records the crashes of the system; thus | |
33 | .dt | |
34 | .s3 | |
35 | last ~ | |
36 | .s3 | |
37 | will give an indication of the reliability of the system. | |
38 | .s3 | |
39 | .it Last | |
40 | with no arguments prints a record of all logins and logouts, in | |
41 | reverse order. | |
42 | The special argument | |
43 | .bd \- | |
44 | suppresses all sessions by users who have the character `\-' | |
45 | in their login names or whose login names begin with a digit. | |
46 | This can be used to suppress student accounts, which have | |
47 | this format on the Cory Hall system at UC Berkeley. | |
48 | .s3 | |
49 | If | |
50 | .it last | |
51 | is interrupted, it indicates how far the search has progressed | |
52 | in | |
53 | .it wtmp. | |
54 | .sh FILES | |
55 | .dt | |
56 | /usr/adm/wtmp login data base | |
57 | .sh SEE\ ALSO | |
58 | sess (VI), ac (VIII), wtmp (V) | |
59 | .sh AUTHOR | |
60 | Howard Katseff | |
61 | .sh BUGS |