accounting: dump-acct

1 
1 5 `dump-acct'
1 *************
1 
1 `dump-acct' dumps some of the contents of one or more `acct' files in
1 human readable form.  Usage:
1 
1    `dump-acct [OPTS] FILES'
1 
1    Unless called with the `--raw' option, it prints a table with the
1 following fields, separated by vertical bars(`|'):
1 
1 `ac_comm'
1      name of the executed program
1 
1 `ac_version'
1      version of the `acct' file format
1 
1 `ac_utime'
1      user time
1 
1 `ac_stime'
1      system time
1 
1 `ac_etime'
1      elapsed time
1 
1 `ac_uid'
1      user id
1 
1 `ac_gid'
1      group id
1 
1 `ac_mem'
1      (average) memory usage
1 
1 `ac_io'
1      number of characters transferred on input/output
1 
1 `ac_pid'
1      process id
1 
1 `ac_ppid'
1      parent's process id
1 
1 
1    All times will be given in platform dependent units ("`AHZ'").  Not
1 all of the above columns will actually appear, depending on what
1 information your operating system provides in it's `struct acct'.
1 
1 5.1 Flags
1 =========
1 
1 `--ahz HZ'
1      Use this flag to tell the program what `AHZ' should be (in Hertz).
1      This option is useful if you are trying to view an `acct' file
1      created on another machine which has a different value for `AHZ'.
1 
1 `--byteswap'
1      Swap the bytes (relative to your system's native byte order) in
1      `--raw' output.
1 
1 `--format'
1      Set output format with `--raw' option.
1 
1 `-n NUM'
1 `--num NUM'
1      Limit the number of lines (or records with `--raw') to print.
1 
1 `-r'
1 `--reverse'
1      Read the accounting file backwards (print latest record first).
1 
1 `-R'
1 `--raw'
1      Don't print human readable output, dump the raw record instead.
1      Useful to convert between different Linux file formats (see below).
1 
1 `-h'
1 `--help'
1      Print `dump-acct''s usage string and default location of the
1      accouning file to standard output.
1 
1 
1    `--byteswap' and `--format' options are only available with Linux
1 multiformat support. They only affect _output_ with the `--raw' option,
1 format and byte order of the input are automatically detected.  Thus
1 they are useful to convert between different file formats.
1 
1    The `--ahz' option affects input and output (except for v3 file
1 format, which by definition is fixed to `AHZ=100').  If you ever need
1 to convert between different `AHZ' values, use a two-step process:
1 First convert to v3 format with the _old_ `AHZ' value, then convert to
1 the desired output format with the _new_ `AHZ' setting.
1 
1