Commit | Line | Data |
---|---|---|
17c5f919 LE |
1 | .TH LASTCOMM 1 10/27/79 |
2 | .UC | |
3 | .SH NAME | |
4 | lastcomm \- show last commands executed in reverse order | |
5 | .SH SYNOPSIS | |
6 | .B lastcomm | |
7 | [ command name ] ... [user name] ... | |
8 | .SH DESCRIPTION | |
9 | .PP | |
10 | .I Lastcomm | |
11 | gives information on previously executed commands. | |
12 | .I Lastcomm | |
13 | with no arguments prints information about all the commands recorded | |
14 | during the current accounting file's lifetime. | |
15 | If called with arguments, only those accounting entries whose command | |
16 | name or user name matches one of the arguments are printed. | |
17 | So, for example, | |
18 | .br | |
19 | lastcomm a.out | |
20 | .br | |
21 | would produce a listing of all the | |
22 | executions of commands named a.out, and | |
23 | .br | |
24 | lastcomm root | |
25 | .br | |
26 | would produce a listing of all the commands executed by user root. | |
27 | .LP | |
28 | ||
29 | .PP | |
30 | For each process entry, the following are printed. | |
31 | .br | |
32 | The name of the user who ran the process. | |
33 | .br | |
34 | The command name under which the process was called. | |
35 | .br | |
36 | The amount of cpu time used by the process (in seconds). | |
37 | .br | |
38 | The time the process exited. | |
39 | .br | |
40 | .LP | |
41 | ||
42 | .SH "AUTHOR" | |
43 | Len Edmondson | |
44 | ||
45 | .SH "SEE ALSO" | |
46 | last (1) | |
47 | .br |