csarecy(1M)                                                        csarecy(1M)


NAME
     csarecy - recycles unfinished job records into next accounting run

SYNOPSIS
     /usr/lib/acct/csarecy [-r] [-s file] [-A] [-D level] [-P file] [-R]

DESCRIPTION
     The csarecy command retrieves job information from the sorted pacct file
     of the current accounting period and writes the records for unfinished
     jobs into a pacct0 file for recycling into the next accounting periord.
     csabuild(1M) marks unfinished accounting jobs (those that do not
     terminate in a given period of system activity).  csarecy takes these
     records from the sorted pacct file and puts them into the next period's
     accounting files directory.  This process is repeated until the job
     finishes.

     csarecy also prints reports about unfinished accounting jobs, in the
     following format:

          SYSTEM BOOT TIME STARTING AT Mon Feb 14 16:39:28 2000
          For IRIX64 swarm 6.5-username-irix65f-SN0 02141631 IP27
          Preserved Accounting Jobs (Jobs which are continued).
          ====================================================

                JOB ID          USERS      PROJECT ID            STARTED
          ------------------    -----    -------------  ------------------------


     The csarecy command accepts the following options:

     -r          Produces a report on all recycled jobs.

     -s file     Specifies the sorted pacct file (created by csabuild(1M)) as
                 the input file.  The default is /var/adm/acct/work/spacct.

     -A          Asks you whether you want to select each job for recycling.
                 When this option is used, you should run csarecy
                 interactively.  You cannot use the -R option with this
                 option.

     -D level    Sets debugging level.  Level 1 is somewhat verbose; level 2
                 is verbose.

     -P path     Specifies the pathname of the output file for recycled pacct
                 accounting information.  The system adds a 0 to the end of
                 the filename, so the actual filename is file0.  The default
                 is /var/adm/acct/work/Wpacct.

     -R          Produces report only; does not recycle jobs.  You cannot use
                 the -A option with this option.


NOTES
     By default, recycled jobs are ignored by most accounting programs.

SEE ALSO
     csaaddc(1M), csabuild(1M), csacon(1M), csacrep(1M), csajrep(1M),
     csaperiod(1M), csarun(1M).


                                                                        Page 2