Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lastcomm(1) — SunOS 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

LASTCOMM(1)  —  User’s Manual — Commands

NAME

lastcomm − show last commands executed in reverse order

SYNOPSIS

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

DESCRIPTION

Lastcomm gives information on previously executed commands.  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. 

EXAMPLES

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. 

FILES

/usr/adm/acctaccounting file

SEE ALSO

last (1)

Sun System Release 1.0  —  6 April 1983

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026