SysTutorials

Linux Manual Pages › Section 8

dump-utmp(8)

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

Synopsis

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

Description

dump-utmp 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 [at] gnu.ai.mit.edu>.

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