| 1 |
.TH DUMP-UTMP 8 "2006-04-22" "6.6.4" "GNU Accounting Utilities" |
| 2 |
|
| 3 |
.SH NAME |
| 4 |
dump-utmp \- print an utmp file in human-readable format. |
| 5 |
|
| 6 |
.SH SYNOPSIS |
| 7 |
.B dump-acct |
| 8 |
.RB [\| \-r \||\| \-\-reverse \|] |
| 9 |
.RB [\| \-R \||\| \-\-raw \|] |
| 10 |
.RB [\| \-n \||\| \-\-num |
| 11 |
.IR recs \|] |
| 12 |
.RB [\| \-h \||\| \-\-help \|] |
| 13 |
.RB [\| |
| 14 |
.IR files \|] |
| 15 |
|
| 16 |
.SH DESCRIPTION |
| 17 |
.B dump-acct |
| 18 |
.I filename |
| 19 |
prints a list of all logins. This list is usually written in |
| 20 |
.IR /var/log/wtmp . |
| 21 |
.LP |
| 22 |
All fields are separated by vertical line. Fields are: |
| 23 |
.IR "user name" , |
| 24 |
.IR tty , |
| 25 |
.IR type , |
| 26 |
.IR id , |
| 27 |
.IR pid , |
| 28 |
.IR hostaddr , |
| 29 |
.IR host , |
| 30 |
.IR time . |
| 31 |
|
| 32 |
.SH OPTIONS |
| 33 |
.TP |
| 34 |
.B \-h, \-\-help |
| 35 |
Prints the usage string and default locations of system files to standard output |
| 36 |
and exits. |
| 37 |
.TP |
| 38 |
.B \-n, \-\-num recs |
| 39 |
Number of lines to print. |
| 40 |
.TP |
| 41 |
.B \-r, \-\-reverse |
| 42 |
Start printing from last records. |
| 43 |
.TP |
| 44 |
.B \-R, \-\-raw |
| 45 |
Print raw records, not human-readable. |
| 46 |
|
| 47 |
.SH FILES |
| 48 |
.TP |
| 49 |
.I wtmp |
| 50 |
The system wide login record file. See |
| 51 |
.BR wtmp (5) |
| 52 |
for further details. |
| 53 |
|
| 54 |
.SH SEE ALSO |
| 55 |
.BR login (1), |
| 56 |
.BR wtmp (5), |
| 57 |
.BR init (8), |
| 58 |
.BR sa (8). |
| 59 |
|
| 60 |
.SH AUTHOR |
| 61 |
The GNU accounting utilities were written by Noel Cragg <[email protected]>. |
| 62 |
.PP |
| 63 |
This manual page was written by Ognyan Kulev <[email protected]> and updated |
| 64 |
by Daniel Baumann <[email protected]> for the Debian project (but may be used by |
| 65 |
others). |