csadrep(1M)                                                        csadrep(1M)


NAME
     csadrep - reports daemon usage

SYNOPSIS
     /usr/lib/acct/csadrep [-D level] [-o ofile] [-A] [-s sfile] [ [-a] | [ [-j] [-n] [-t] [-w] ] [-V level]

     /usr/lib/acct/csadrep [-D level] [-o ofile [-N]] [-A] [-s sfile]

     /usr/lib/acct/csadrep [-D level] [-o ofile] [ -a | [ [-j] [-n] [-t] [-w] ] ] [-V level] files

     /usr/lib/acct/csadrep [-D level] [-o ofile [-N]] files

DESCRIPTION
     The csadrep command reports usage of the NQS, workload management, and
     tape daemons.  Input is either from a sorted pacct file created by
     csabuild(1M) or from a binary file created by csadrep with the -o option.
     The files operand specifies the binary files.

     The usage report is written to stdout.

     The csadrep command accepts three types of options:  input, output, and
     report selection options.

   Input Option
     The csadrep command accepts the following input option.

     -s sfile  Specifies the name of the sorted pacct file.  The csabuild(1M)
               command creates this file.  The default is
               /var/adm/acct/work/spacct.

   Output Options
     The csadrep command accepts the following output options.

     -D level  Sets the debugging level.  The level range is from 1 to 2.
               Level 0 turns debugging off; level 1 is slightly verbose; and
               level 2 is verbose.  Debug output is written to stderr.  By
               default, debugging is turned off.

     -o ofile  Specifies the name of the binary output file.  csadrep can
               process this file, using the files parameter.

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

     -N        Does not generate a usage report.  You must use the -o option
               with this option.

     -V level  Sets the verbose level of the usage report.  The levels are 0
               through 3.  Level 0 is terse, and level 3 is extremely verbose.
               The default is level 0.


   Report Selection Options
     The csadrep command accepts the following report selection options.

     -a        Reports usage for all daemons.  This is equivalent to -jnt.

     -j        Reports batch and interactive job usage.  This is the default.

     -n        Reports NQS and workload management daemon usage.

     -t        Reports tape daemon usage.

EXAMPLES
     Example 1:  The following example generates a very verbose usage report
     for all the daemons.  Input is from the sorted pacct file (spacct).
     Binary output file drep.1 is created.

          csadrep -a -V 3 -s spacct -o drep.1

     Example 2:  The following example generates a terse usage report for all
     the daemons.  Input is from three previously created binary files.

          csadrep -a drep.1 drep.2 drep.3

SEE ALSO
     csabuild(1M).


                                                                        Page 2