www.delorie.com/gnu/docs/acct/accounting_18.html   search  
Buy GNU books!

Accounting Utilities Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.1 Flags

This program implements the features of regular u*x lastcomm with a few extra flags. When lastcomm is invoked without arguments, the output looks like this:
nslookup         jberman  ttypb      0.03 secs Tue Feb 16 19:23
comsat           root     __         0.03 secs Tue Feb 16 19:19
uptime           ctilburg __         0.11 secs Tue Feb 16 19:23
sh          F    ctilburg __         0.02 secs Tue Feb 16 19:23
sleep            ctilburg __         0.02 secs Tue Feb 16 19:22
ls               noel     ttyp4      0.19 secs Tue Feb 16 19:23

Print only entries that match all of the arguments on the command line.

--user name
List records for user with name. This is useful if you're trying to match a username that happens to be the same as a command (e.g., ed).

--command name
List records for command name.

--tty name
List records for tty name.

-f filename
--file filename
Read from the file filename instead of the system's acct file.

Print verbose internal information.

Print lastcomm's version number.

Print lastcomm's usage string and default locations of system files to standard output.

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003