From: Jonathan Amery Date: Mon, 6 Oct 2014 15:26:53 +0000 (+0100) Subject: acctdump: Manpage X-Git-Tag: debian/4.4.0~4 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=17dc235865558f1d14c18340f3d6c3bb914af2cf;p=chiark-utils.git acctdump: Manpage --- diff --git a/cprogs/Makefile b/cprogs/Makefile index 641b016..64d4ba4 100644 --- a/cprogs/Makefile +++ b/cprogs/Makefile @@ -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 index 0000000..9a93f4b --- /dev/null +++ b/cprogs/acctdump.8 @@ -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 [ ... ] +.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 + +This manpage was written by Jonathan Amery. It is +.BR +Copyright (C) 2014 Jonathan Amery + +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. + diff --git a/debian/rules b/debian/rules index b711bb1..35d00fe 100755 --- a/debian/rules +++ b/debian/rules @@ -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*/*