csaaddc(1M) csaaddc(1M) NAME csaaddc - combines cacct records SYNOPSIS /usr/lib/acct/csaaddc [-A] [-D level] [-o ofile] [-t] [-v] [[[-g] [-p]] [-j] [-u]] input-files DESCRIPTION The csaaddc command combines cacct records by specified consolidation options and writes out a consolidated record in either cacct or ASCII format. You also can generate cacct records with the csacon(1M), acctdisk(1M) and csachargefee(1M) commands. The csaaddc command accepts the following operand: input-files Specifies the files to be processed. The files are in cacct format. Output Options -A Outputs information in ASCII. By default, the output is written to a binary output file. [-D level] Sets debugging level. Level 1 is somewhat verbose; level 2 is verbose. -o ofile Specifies the output file. By default, the output is written to stdout. -t Consolidates all records into one total record. -v Sets verbose mode on. When you also specify -A, verbose output is written to stderr. Consolidation Options You can specify multiple consolidation options. These options should be the same as those used to create the input files with csacon(1M). If you do not specify any consolidation options, the default is -pu. -g Consolidates records by group ID. You must use this option with at least one of the other consolidation options, because not all records have a group ID. -p Consolidates records by project ID. -j Consolidates records by job ID. -u Consolidates records by user ID. NOTES The consolidation options used with csacon(1M) to generate the input files should correspond to the consolidation options used with csaaddc. If they do not, the resulting data can be misleading and difficult to interpret. EXAMPLES The following example merges two input files created with csacon(1M), using the -p and -g consolidation options. The output is written to file outfile. csaaddc -p -g -o outfile cacct1 cacct2 SEE ALSO acctdisk(1M), csachargefee(1M), csacon(1M), csacrep(1M), diskusg(1M), dodisk(1M). Page 2