Annotation of cci/usr/src/man/man1/lastcomm.1, revision 1.1.1.2

1.1       root        1: .TH LASTCOMM 1 "4 April 1983"
                      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] ... [terminal name] ...
                      8: .SH DESCRIPTION
                      9: .I Lastcomm
                     10: gives information on previously executed commands.
                     11: With no arguments,
                     12: .I lastcomm
                     13: prints information about all the commands recorded
                     14: during the current accounting file's lifetime.
                     15: If called with arguments, only accounting entries with a
                     16: matching command
                     17: name, user name, or terminal name are printed.
                     18: So, for example,
                     19: .ti +0.5i
                     20: lastcomm a.out root ttyd0
                     21: .br
                     22: would produce a listing of all the
                     23: executions of commands named
                     24: .I a.out
                     25: by user
                     26: .I root
                     27: on the terminal
                     28: .IR ttyd0 .
                     29: .PP
                     30: For each process entry, the following are printed.
                     31: .in +0.5i
                     32: The name of the user who ran the process.
                     33: .br
                     34: Flags, as accumulated by the accounting facilities in the system.
                     35: .br
                     36: The command name under which the process was called.
                     37: .br
1.1.1.2 ! root       38: The amount of cpu time used by the process (in milli-secs).
1.1       root       39: .br
                     40: The time the process exited.
                     41: .in -0.5i
                     42: .PP
                     43: The flags are encoded as follows: ``S'' indicates the command was
                     44: executed by the super-user, ``F'' indicates the command ran after
                     45: a fork, but without a following 
                     46: .IR exec ,
                     47: ``D'' indicates the command terminated with the generation of a
                     48: .I core
                     49: file, and ``X'' indicates the command was terminated with the signal
                     50: SIGTERM.
                     51: .SH "SEE ALSO"
                     52: last(1),
                     53: sigvec(2),
                     54: acct(5),
                     55: core(5)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.