csacms   -   summarizes  command  usage  from  per-process
       accounting records


SYNOPSIS

       //uussrr//ssbbiinn//ccssaaccmmss [--aa [[[--pp] [--oo]] [--ee]]]  [--cc]  [--jj]  [--nn]
       [--ss] [--SS [--AA]] files


DESCRIPTION

       The  ccssaaccmmss  command  reads  the  pacct file, sorted pacct
       files, or files that are already in internal summary  for­
       mat  depending upon the input option.  It adds all records
       for processes that executed  identically  named  commands,
       and  it sorts and writes them to the standard output, usu­
       ally using an internal summary format.

       ccssaaccmmss accepts the following options:

       --aa   Prints output in ASCII rather than  in  the  internal
            summary  format.   You  can use the following options
            only with the --aa option:

            --pp   Outputs a prime-time-only command summary.

            --oo   Outputs a nonprime-time-only (offshift)  command
                 summary.

            --ee   Outputs  an extended report, printing additional
                 fields.

            The  default  output  produced  with  the  --aa  option
            includes  command  name,  number  of  times executed,
            total kcore-minutes,  total  kvirtual-minutes,  total
            CPU  minutes,  total real minutes, mean core size (in
            K), mean virtual size (in K), mean  CPU  minutes  per
            invocation, the amount of CPU resources (proportional
            to other processes) used, and k-characters  read  and
            written, and blocks read and written.  Read and writ­
            ten values are printed  separately.   The  output  is
            sorted  by  total kcore-minutes, unless you specify a
            sort option.

            The high-water usage values for core and virtual mem­
            ory are presented as both a prime-time value and non­
            prime-time value.

            When you specify both --pp and --oo with --aa, ccssaaccmmss  pro­
            duces a combination prime or nonprime time report.

            The  extended report prints the following: high-water
            core memory usage value,  high-water  virtual  memory
            usage  value,  the  number  of  read and write system
            calls (printed separately), system  time,  block  I/O
            wait  time,  raw  I/O  wait  time,  page swaps, minor


       --cc   Sorts by total CPU time rather than total  kcore-min­
            utes.

       --jj   Combines   all   commands  invoked  only  once  under
            ``***other''.

       --nn   Sorts by number of command invocations.

       --ss   Indicates that any  filenames  encountered  hereafter
            are already in internal summary format.

       --SS   Indicates  that  the sorted pacct file format is used
            on input.

       --AA   Causes all jobs (even nonterminated jobs) to be  con­
            sidered.   You  must  use  this  option  with  the --SS
            option.


EXAMPLES

       A typical sequence for performing daily command accounting
       and for maintaining a running total is as follows:

            ccssaaccmmss ffiillee ...... >> ttooddaayy

            ccpp ttoottaall pprreevviioouussttoottaall

            ccssaaccmmss --ss ttooddaayy pprreevviioouussttoottaall >> ttoottaall

            ccssaaccmmss --aa --ss ttooddaayy


SEE ALSO

       csa(8), csacom(1), csarun(8).


Man(1) output converted with man2html