BSD 3 development
authorLen Edmondson <x-le@ucbvax.Berkeley.EDU>
Sun, 25 Nov 1979 09:09:34 +0000 (01:09 -0800)
committerLen Edmondson <x-le@ucbvax.Berkeley.EDU>
Sun, 25 Nov 1979 09:09:34 +0000 (01:09 -0800)
Work on file usr/man/man1/lastcomm.1

Synthesized-from: 3bsd

usr/man/man1/lastcomm.1 [new file with mode: 0644]

diff --git a/usr/man/man1/lastcomm.1 b/usr/man/man1/lastcomm.1
new file mode 100644 (file)
index 0000000..f6be8c4
--- /dev/null
@@ -0,0 +1,47 @@
+.TH LASTCOMM 1 10/27/79
+.UC
+.SH NAME
+lastcomm \- show last commands executed in reverse order
+.SH SYNOPSIS
+.B lastcomm
+[ command name ] ... [user name] ...
+.SH DESCRIPTION
+.PP
+.I Lastcomm
+gives information on previously executed commands.
+.I Lastcomm
+with no arguments prints information about all the commands recorded
+during the current accounting file's lifetime.
+If called with arguments, only those accounting entries whose command
+name or user name matches one of the arguments are printed.
+So, for example,
+.br
+       lastcomm a.out
+.br
+would produce a listing of all the
+executions of commands named a.out, and
+.br
+       lastcomm root
+.br
+would produce a listing of all the commands executed by user root.
+.LP
+
+.PP
+For each process entry, the following are printed.
+.br
+       The name of the user who ran the process.
+.br
+       The command name under which the process was called.
+.br
+       The amount of cpu time used by the process (in seconds).
+.br
+       The time the process exited.
+.br
+.LP
+
+.SH "AUTHOR"
+Len Edmondson
+
+.SH "SEE ALSO"
+last (1)
+.br