hpux man page for lastcomm

Query: lastcomm

OS: hpux

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

lastcomm(1)						      General Commands Manual						       lastcomm(1)

NAME
lastcomm - show last commands executed in reverse order
SYNOPSIS
[commandname] ... [username] ... [terminalname] ...
DESCRIPTION
gives information on previously executed commands. If no arguments are specified, prints information about all the commands recorded in the accounting file, during the current accounting file's lifetime. If called with arguments, only accounting entries with a matching com- mand name, user name, or terminal name are printed. For example, to produce a listing of all executions of commands named by user on ter- minal use: For each process entry, the following are printed. o Name of the user who ran the process. o Flags, as accumulated by the accounting facilities in the system. o Command name under which the process was called. o Amount of cpu time used by the process (in seconds). o What time the process started. Flags are encoded as follows: Command was executed by a user who has appropriate privileges. Command ran after a fork, but without a following exec. Command terminated with the generation of a file. Command was terminated with the signal SIGTERM.
AUTHOR
was developed by the University of California, Berkeley.
FILES
current file for per-process accounting
SEE ALSO
last(1), acct(4), acctsh(1M), core(4). lastcomm(1)
Related Man Pages
lastcomm(1) - mojave
lastcomm(1) - centos
lastcomm(1) - hpux
lastcomm(8) - osf1
lastcomm(1) - osx
Similar Topics in the Unix Linux Community
Cut Command
Keeping an eye on all user activities
Command to find out user creation date
Command Question...
I want to know whole day commands executed by particular user