| 1 |
.\" Copyright (C) 2009 Red Hat, Inc. All Rights Reserved. |
| 2 |
.\" Written by Ivana Hutarova Varekova <[email protected]> |
| 3 |
.TH DUMP_ACCT 8 "2009 December 2" "Linux accounting system" |
| 4 |
|
| 5 |
.SH NAME |
| 6 |
dump\-acct \- print an acct/pacct file in human-readable format |
| 7 |
|
| 8 |
.SH SYNOPSIS |
| 9 |
.B dump-acct |
| 10 |
[\fB\-r\fR|\fB\-\-reverse\fR] |
| 11 |
[\fB\-R\fR|\fB\-\-raw\fR] |
| 12 |
[\fB\-n\fR|\fB\-\-num\fR\ \fIrecs\fR] |
| 13 |
[\fB\-\-byte\-swap\fR] |
| 14 |
[\fB\-\-format\fR] |
| 15 |
[\fB\-\-ahz\fR\ \fIfreq\fR] |
| 16 |
[\fB\-h\fR|\fB\-\-help\fR] |
| 17 |
[\fIfiles\fR] |
| 18 |
|
| 19 |
.SH DESCRIPTION |
| 20 |
The dump-acct command transforms the output \fBfile\fR from the |
| 21 |
accton format to the human-readable format: one record per line. |
| 22 |
Each record consists of severald fields which are separated by |
| 23 |
character "|" (the meaning of concreate field depends on the |
| 24 |
version of kernel package - with which the accton file was created). |
| 25 |
|
| 26 |
.SH OPTIONS |
| 27 |
The following options are supported: |
| 28 |
.TP |
| 29 |
.B -r, --reverse |
| 30 |
Print the output in reverse order. |
| 31 |
.TP |
| 32 |
.B -R, --raw |
| 33 |
The records will be printed without any parsing. |
| 34 |
.TP |
| 35 |
.B -n, --num NUMRECS |
| 36 |
Display only the first NUMRECS number of records. |
| 37 |
.TP |
| 38 |
.B --byteswap |
| 39 |
Swap the bytes (relative to your system's native byte order) in --raw output. |
| 40 |
.TP |
| 41 |
.B --format |
| 42 |
Set output format with --raw option. |
| 43 |
.TP |
| 44 |
.B --ahz FREQ |
| 45 |
Set the AHZ (platform dependent frequency in Hertz) to FREQ. |
| 46 |
.TP |
| 47 |
.B -h, --help |
| 48 |
Print a help message and the default location of the process accounting file |
| 49 |
and exit. |
| 50 |
|
| 51 |
.SH SEE ALSO |
| 52 |
accton (8), lastcomm (1) |
| 53 |
|