dump-utmp

Langue: en

Autres versions - même langue

Version: 2006-04-22 (fedora - 01/12/10)

Section: 8 (Commandes administrateur)

NAME

dump-utmp - print a utmp file in human-readable format

SYNOPSYS

dump-utmp [-hrR] [-n <recs>] <files>
      [--num <recs>] [--raw] [--reverse] [--help]

OPTIONS

The following options are supported:
-h, --help
Print a help message and the default location of the process accounting file and exit.
-r, --reverse
Print the output in reverse order.
-R, --raw
The records will be printed without any parsing.
-n, --num NUMRECS
Display only the first NUMRECS number of records.

SEE ALSO

accton (8), lastcomm (1), utmp (5)

NAME

dump-utmp - print an utmp file in human-readable format.

SYNOPSIS

dump-acct [-r|--reverse] [-R|--raw] [-n|--num recs] [-h|--help] [ files]

DESCRIPTION

dump-acct filename prints a list of all logins. This list is usually written in /var/log/wtmp.

All fields are separated by vertical line. Fields are: user name, tty, type, id, pid, hostaddr, host, time.

OPTIONS

-h, --help
Prints the usage string and default locations of system files to standard output and exits.
-n, --num recs
Number of lines to print.
-r, --reverse
Start printing from last records.
-R, --raw
Print raw records, not human-readable.

FILES

wtmp
The system wide login record file. See wtmp(5) for further details.

SEE ALSO

login(1), wtmp(5), init(8), sa(8).

AUTHOR

The GNU accounting utilities were written by Noel Cragg <noel@gnu.ai.mit.edu>.

This manual page was written by Ognyan Kulev <ogi@fmi.uni-sofia.bg> and updated by Daniel Baumann <daniel@debian.org> for the Debian project (but may be used by others).