csacon(1M)                                                          csacon(1M)


NAME
     csacon - condenses records from the sorted pacct file

SYNOPSIS
     /usr/lib/acct/csacon [-A] [-D level] [-g] [-j] [-p] [-u] [-s sorted pacct
     file]

DESCRIPTION
     The csacon command condenses records from the sorted pacct file and
     writes consolidated records in cacct format to stdout.  You can use the
     csacrep(1M) command to generate ASCII reports from the consolidated file.
     csacon accepts two types of options: consolidation and  input options.

   Consolidation Options
     The csacon command accepts the following consolidation options.  You can
     specify multiple consolidation options.  If you do not specify any
     consolidation options, the default is to use -pu.

     -A      Consolidates all jobs, including those that have not completed.
             By default, only jobs that have completed are consolidated.

     -D level
             Sets the debugging level.  Level 1 is slightly verbose; level 6
             is very verbose.  Debug output is written to standard error.  By
             default, debugging is turned off.

     -g      Consolidates sorted pacct records by using the group ID as a key.
             Because not all records have a group ID, you must use this option
             with at least one of the following consolidation options:  -p,
             -j, or -u.

     -j      Consolidates sorted pacct records by using the job ID as a key.

     -p      Consolidates sorted pacct records by using the project ID as a
             key.

     -u      Consolidates sorted pacct records by using the user ID.

   Input Option
     The csacon command accepts the following input option:

     -s sorted pacct file
             Specifies the name of the the sorted pacct file, which is the
             input file.  csabuild(1M) created the file.

EXAMPLES
     The following example consolidates all records in the sorted pacct file.
     The sorted pacct records are condensed by the three-tuple project ID, job
     ID, and user ID.  Output is written to the cacct file.


          csacon -p -j -u -s sorted pacct file > cacct

SEE ALSO
     csaaddc(1M), csabuild(1M), csacrep(1M).


                                                                        Page 2