2009-12-02 13:37:42 +00:00
|
|
|
diff -up acct-6.3.2/dump-acct.8.orig acct-6.3.2/dump-acct.8
|
|
|
|
--- acct-6.3.2/dump-acct.8.orig 2009-12-02 13:56:58.000000000 +0100
|
|
|
|
+++ acct-6.3.2/dump-acct.8 2009-12-02 13:56:58.000000000 +0100
|
|
|
|
@@ -0,0 +1,37 @@
|
|
|
|
+.\" Copyright (C) 2009 Red Hat, Inc. All Rights Reserved.
|
|
|
|
+.\" Written by Ivana Hutarova Varekova <varekova@redhat.com>
|
|
|
|
+.TH DUMP_ACCT 8 "2009 December 2" "Linux accounting system"
|
|
|
|
+
|
|
|
|
+.SH NAME
|
|
|
|
+dump\-acct \- print an acct/pacct file in human-readable format
|
|
|
|
+
|
|
|
|
+.SH SYNOPSYS
|
|
|
|
+\fBdump-acct\fR [\fB-hrR\fR] [\fB-n\fR <\fIrecs\fR>] <\fBfiles\fR>
|
|
|
|
+ [\fB--num\fR <\fIrecs\fR>] [\fB--raw\fR] [\fB--reverse\fR] [\fB--help\fR]
|
|
|
|
+
|
|
|
|
+.SH DESCRIPTION
|
|
|
|
+The dump-acct command transforms the output \fBfile\fR from the
|
|
|
|
+accton format to the human-readable format: one record per line.
|
|
|
|
+Each record consists of severald fields which are separated by
|
|
|
|
+character "|" (the meaning of concreate field depends on the
|
|
|
|
+version of kernel package - with which the accton file was created).
|
|
|
|
+
|
|
|
|
+.SH OPTIONS
|
|
|
|
+The following options are supported:
|
|
|
|
+.TP
|
|
|
|
+.B -h, --help
|
|
|
|
+Print a help message and the default location of the process accounting file
|
|
|
|
+and exit.
|
|
|
|
+.TP
|
|
|
|
+.B -r, --reverse
|
|
|
|
+Print the output in reverse order.
|
|
|
|
+.TP
|
|
|
|
+.B -R, --raw
|
|
|
|
+The records will be printed without any parsing.
|
|
|
|
+.TP
|
|
|
|
+.B -n, --num NUMRECS
|
|
|
|
+Display only the first NUMRECS number of records.
|
|
|
|
+
|
|
|
|
+.SH SEE ALSO
|
|
|
|
+accton (8), lastcomm (1)
|
|
|
|
+
|
2010-11-09 16:30:13 +00:00
|
|
|
diff -up ./acct-6.5.5/dump-utmp.8.orig ./acct-6.5.5/dump-utmp.8
|
|
|
|
--- acct-6.5.5/dump-utmp.8.orig 2010-10-23 13:33:27.000000000 +0200
|
|
|
|
+++ acct-6.5.5/dump-utmp.8 2010-11-09 17:08:53.000000000 +0100
|
|
|
|
@@ -1,65 +1,29 @@
|
|
|
|
-.TH DUMP-UTMP 8 "2006-04-22" "6.5.1" "GNU Accounting Utilities"
|
2009-12-02 13:37:42 +00:00
|
|
|
+.\" Copyright (C) 2009 Red Hat, Inc. All Rights Reserved.
|
|
|
|
+.\" Written by Ivana Hutarova Varekova <varekova@redhat.com>
|
|
|
|
+.TH DUMP_UTMP 8 "2009 December 2" "Linux accounting system"
|
2010-11-09 16:30:13 +00:00
|
|
|
|
|
|
|
.SH NAME
|
|
|
|
-dump-utmp \- print an utmp file in human-readable format.
|
2009-12-02 13:37:42 +00:00
|
|
|
+dump\-utmp \- print a utmp file in human-readable format
|
2010-11-09 16:30:13 +00:00
|
|
|
|
|
|
|
-.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 .
|
2009-12-02 13:37:42 +00:00
|
|
|
+.SH SYNOPSYS
|
|
|
|
+\fBdump-utmp\fR [\fB-hrR\fR] [\fB-n\fR <\fIrecs\fR>] <\fBfiles\fR>
|
|
|
|
+ [\fB--num\fR <\fIrecs\fR>] [\fB--raw\fR] [\fB--reverse\fR] [\fB--help\fR]
|
2010-11-09 16:30:13 +00:00
|
|
|
|
|
|
|
.SH OPTIONS
|
2009-12-02 13:37:42 +00:00
|
|
|
+The following options are supported:
|
2010-11-09 16:30:13 +00:00
|
|
|
.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.
|
2009-12-02 13:37:42 +00:00
|
|
|
+.B -h, --help
|
|
|
|
+Print a help message and the default location of the process accounting file
|
|
|
|
+and exit.
|
2010-11-09 16:30:13 +00:00
|
|
|
.TP
|
|
|
|
-.B \-r, \-\-reverse
|
|
|
|
-Start printing from last records.
|
2009-12-02 13:37:42 +00:00
|
|
|
+.B -r, --reverse
|
|
|
|
+Print the output in reverse order.
|
2010-11-09 16:30:13 +00:00
|
|
|
.TP
|
|
|
|
-.B \-R, \-\-raw
|
|
|
|
-Print raw records, not human-readable.
|
|
|
|
-
|
|
|
|
-.SH FILES
|
2009-12-02 13:37:42 +00:00
|
|
|
+.B -R, --raw
|
|
|
|
+The records will be printed without any parsing.
|
2010-11-09 16:30:13 +00:00
|
|
|
.TP
|
|
|
|
-.I wtmp
|
|
|
|
-The system wide login record file. See
|
|
|
|
-.BR wtmp (5)
|
|
|
|
-for further details.
|
2009-12-02 13:37:42 +00:00
|
|
|
+.B -n, --num NUMRECS
|
|
|
|
+Display only the first NUMRECS number of records.
|
2010-11-09 16:30:13 +00:00
|
|
|
|
|
|
|
.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).
|
2009-12-02 13:37:42 +00:00
|
|
|
+accton (8), lastcomm (1), utmp (5)
|