4BSD/usr/man/cat1/lastcomm.1

Compare this file to the similar file:
Show the results in this format:




LASTCOMM(1)         UNIX Programmer's Manual          LASTCOMM(1)



NAME
     lastcomm - show last commands executed in reverse order

SYNOPSIS
     lastcomm [ command name ] ... [user name] ...

DESCRIPTION
     _L_a_s_t_c_o_m_m gives information on previously executed commands.
     _L_a_s_t_c_o_m_m with no arguments prints information about all the
     commands recorded during the current accounting file's life-
     time.  If called with arguments, only those accounting
     entries whose command name or user name matches one of the
     arguments are printed.  So, for example,
          lastcomm a.out
     would produce a listing of all the executions of commands
     named a.out, and
          lastcomm root
     would produce a listing of all the commands executed by user
     root.

     For each process entry, the following are printed.
          The name of the user who ran the process.
          The command name under which the process was called.
          The amount of cpu time used by the process (in
     seconds).
          The time the process exited.

AUTHOR
     Len Edmondson


SEE ALSO
     last (1)






















Printed 11/10/80            10/27/79                            1