| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
dump-acctdump-acct dumps some of the contents of one or
more acct files in human readable form. Usage:
dump-acct [opts] files
Unless called with the --raw option, it prints a
table with the following fields, separated by vertical
bars(|):
ac_commname of the executed program
ac_versionversion of the acct file format
ac_utimeuser time
ac_stimesystem time
ac_etimeelapsed time
ac_uiduser id
ac_gidgroup id
ac_mem(average) memory usage
ac_ionumber of characters transferred on input/output
ac_pidprocess id
ac_ppidparent's process id
All times will be given in platform dependent units
("AHZ"). Not all of the above columns will actually
appear, depending on what information your operating system
provides in it's struct acct.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
--ahz hzUse this flag to tell the program what AHZ
should be (in Hertz). This option is useful if you are trying
to view an acct file created on another machine
which has a different value for AHZ.
--byteswapSwap the bytes (relative to your system's native byte
order) in --raw output.
--formatSet output format with --raw option.
-n num--num numLimit the number of lines (or records with
--raw) to print.
-r--reverseRead the accounting file backwards (print latest record first).
-R--rawDon't print human readable output, dump the raw record instead. Useful to convert between different Linux file formats (see below).
-h--helpPrint dump-acct's usage string and default
location of the accouning file to standard output.
--byteswap and --format options are
only available with Linux multiformat support. They only affect
output with the --raw option, format and
byte order of the input are automatically detected. Thus they are
useful to convert between different file formats.
The --ahz option affects input and output (except
for v3 file format, which by definition is fixed to
AHZ=100). If you ever need to convert between
different AHZ values, use a two-step process: First
convert to v3 format with the old AHZ
value, then convert to the desired output format with the
new AHZ setting.
| [ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on February,
6 2010 using texi2html
1.76.