summaryrefslogtreecommitdiffstats
path: root/upstream/debian-bookworm/man8/dump-utmp.8
blob: ab8699d0933986ecac5823dbb5b8155a34281fd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
.TH DUMP-UTMP 8 "2006-04-22" "6.4pre1" "GNU Accounting Utilities"

.SH NAME
dump-utmp \- print an utmp file in human-readable format.

.SH SYNOPSIS
.B dump-acct
.RB [\| \-r \||\| \-\-reverse \|]
.RB [\| \-R \||\| \-\-raw \|]
.RB [\| \-n \||\| \-\-num
.IR recs \|]
.RB [\| \-h \||\| \-\-help \|]
.RB [\|
.IR files \|]

.SH DESCRIPTION
.B dump-acct
.I filename
prints a list of all logins. This list is usually written in
.IR /var/log/wtmp .
.LP
All fields are separated by vertical line. Fields are:
.IR "user name" ,
.IR tty ,
.IR type ,
.IR id ,
.IR pid ,
.IR hostaddr ,
.IR host ,
.IR time .

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

.SH FILES
.TP
.I wtmp
The system wide login record file. See
.BR wtmp (5)
for further details.

.SH SEE ALSO
.BR login (1),
.BR wtmp (5),
.BR init (8),
.BR sa (8).

.SH AUTHOR
The GNU accounting utilities were written by Noel Cragg <noel@gnu.ai.mit.edu>.
.PP
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).