chiark / gitweb /
acctdump: Manpage
authorJonathan Amery <jdamery+zgit@ysolde.ucam.org>
Mon, 6 Oct 2014 15:26:53 +0000 (16:26 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 26 Oct 2014 14:20:40 +0000 (14:20 +0000)
cprogs/Makefile
cprogs/acctdump.8 [new file with mode: 0644]
debian/rules

index 641b016..64d4ba4 100644 (file)
@@ -34,7 +34,7 @@ SUIDSBINPROGRAMS=     really
 DAEMONS=               trivsoundd
 MAN1PAGES=             readbuffer.1 writebuffer.1 with-lock-ex.1 \
                        xduplic-copier.1
-MAN8PAGES=             trivsoundd.8 really.8
+MAN8PAGES=             trivsoundd.8 really.8 acctdump.8
 BUILTTXTDOCS=          watershed.txt
 TXTDOCS=               $(BUILTTXTDOCS)
 
diff --git a/cprogs/acctdump.8 b/cprogs/acctdump.8
new file mode 100644 (file)
index 0000000..9a93f4b
--- /dev/null
@@ -0,0 +1,58 @@
+.TH acctdump 1 2014-10-06 chiark-utils-bin
+.SH NAME
+acctdump \- accounting data dump utility
+.SH SYNOPSIS
+.B acctdump
+.RB [ -f|--forwards ]
+.RB [ -q|--no-banner ]
+.RB [ -p|--stdin ]
+.RB [ -r|--raw ]
+.RB [ -u|--resource ]
+.RI [ <file> ... ]
+.SH DESCRIPTION
+.B acctdump
+reads process accounting data from 
+.B file
+or, by default, from the system process account file 
+.I /var/log/account/pacct 
+and outputs it as a table on stdout.
+.SH OPTIONS
+.TP
+.B -f|--forwards
+Output data with the oldest entry first rather than last.
+.TP
+.B -q|--no-banner
+Don\'t output a header in the first line.
+.TP
+.B -p|--stdin
+Read accounting data from stdin.
+.TP
+.B -r|--raw
+Don\'t convert date, uid, gid, tty, and exit status to human readable forms.
+.TP
+.B -u|--resource
+Additionally display resource usage data.
+.SH "SEE ALSO"
+.BR ac (1)
+.BR accton (8)
+.BR dump-acct (8)
+.BR dump-utmp (8)
+.BR lastcomm (1)
+.BR sa (8)
+.SH AUTHOR
+.B acctdump
+is
+.BR
+Copyright (C) 1998, 2001, 2006 Ian Jackson <ian@chiark.greenend.org.uk>
+
+This manpage was written by Jonathan Amery.  It is
+.BR
+Copyright (C) 2014 Jonathan Amery <jdamery@chiark.greenend.org.uk>
+
+This is free software, distributed under the GNU General Public
+Licence, version 3 or (at your option) any later version; see
+/usr/share/doc/chiark-utils-bin/copyright or
+/usr/share/common-licenses/GPL-3
+for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
index b711bb1..35d00fe 100755 (executable)
@@ -91,8 +91,7 @@ binary-prep:
                mv really.8 $t/chiark-really/usr/share/man/man8/
        rm      $t/chiark-utils-bin/usr/sbin/trivsoundd \
                $t/chiark-utils-bin/usr/share/man/man8/trivsoundd.8
-       rmdir   $t/chiark-utils-bin/usr/sbin \
-               $t/chiark-utils-bin/usr/share/man/man8
+       rmdir   $t/chiark-utils-bin/usr/sbin
        #
        gzip -9f $t/*/usr/share/man/man*/*