Package psacct

Utilities for monitoring process activities

http://www.gnu.org/software/acct/

The psacct package contains several utilities for monitoring process
activities, including ac, lastcomm, accton and sa. The ac command
displays statistics about how long users have been logged on. The
lastcomm command displays information about previous executed
commands. The accton command turns process accounting on or off. The
sa command summarizes information about previously executed
commands.

General Commands
Command Description
ac print statistics about users' connect time
lastcomm print out information about previously executed commands.
System Administration
Command Description
accton turns process accounting on or off
dump-acct print an acct/pacct file in human-readable format
dump-utmp print an utmp file in human-readable format.
sa summarizes accounting information