csacrep(1M)csacrep(1M)NAMEcsacrep - reports on consolidated accounting data
SYNOPSIS
/usr/lib/acct/csacrep [-p | -u] [-b] [-c] [-d] [-f] [-g] [-h] [-j] [-n]
[-w] [-x] [-J] [-P]
DESCRIPTION
The csacrep command generates reports from data in cacct format, such as
output from the csacon(1M) command. The default output reports the
project name, the user ID, and the login name, and it suppresses the
heading.
The csacrep command accepts the following two types of options: sorting
and printing.
Sorting Options
The csacrep command accepts the following two sorting options. You
cannot use the -p and -u options together.
-p Sorts output first by the project ID and then by the secondary key
of the user ID. By default, csacrep does not sort. You cannot use
this option with the -u option.
-u Sorts output first by user ID and then by the secondary key of the
project ID. By default, csacrep does not sort. You cannot use this
option with the -p option.
Printing Options
The csacrep command accepts the following printing options:
-b Reports SBU data.
-c Reports CPU time, total kcore-minutes, and total kvirtual-minutes.
-d Reports the cumulative disk usage and number of disk samples. Input
files that contains disk usage data are generated by using acctdisk
(see acct(1M)) or by merging cacct disk output files with other
cacct files, using the csaaddc(1M) command.
-f Reports full data.
-g Reports group name.
-h Displays heading.
-j Reports number of processes and jobs.
-n Reports prime and nonprime data.
Page 1
csacrep(1M)csacrep(1M)-w Reports the block I/O wait time and raw I/O wait time.
-x Reports the number of k-characters read and written, the number of
blocks read and written, and the number of read and write systems
calls.
-J Reports job ID.
-P Prints the project ID. (The default is to print the project name.)
NOTES
Zero is a valid value for the number of jobs. If a job is executed with
multiple user ID/project ID pairs, the number-of-jobs value is
incremented for only one such combination per job.
If the data is not consolidated by the job ID using the csacon command -j
option, or by group ID by using the csacon command -g option, or by
project ID using the csacon command -p option, or by user ID using the
csacon command -u option, the output for that particular key will be
unknown.
EXAMPLES
The following example generates a report from a daily accounting file:
csacrep-hcw < /var/adm/acct/sum/csa/cacct.02031315
SEE ALSOacct(1M), csaaddc(1M), csacon(1M).
Page 2