From: Len Edmondson Date: Sun, 25 Nov 1979 09:09:34 +0000 (-0800) Subject: BSD 3 development X-Git-Tag: BSD-3~623 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/17c5f919ac3d30641f4faf09f30efad527f838d7 BSD 3 development Work on file usr/man/man1/lastcomm.1 Synthesized-from: 3bsd --- diff --git a/usr/man/man1/lastcomm.1 b/usr/man/man1/lastcomm.1 new file mode 100644 index 0000000000..f6be8c44dc --- /dev/null +++ b/usr/man/man1/lastcomm.1 @@ -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