csajrep - prints a job report from the sorted pacct file
SYNOPSIS
//uussrr//ssbbiinn//ccssaajjrreepp [--ss file] [--bb] [--cc] [--hh] [--qq] [--tt] [--ww] [--xx] [--AA] [--BB] [--FF] [--JJ] [--LL] [--SS] [--TT] [--ZZ]
//uussrr//ssbbiinn//ccssaajjrreepp [--ss file] [--jj jid] [--pp prid] [--rr reqid] [--uu uid] [--bb] [--cc] [--ee]
[--hh] [--qq] [--tt] [--ww] [--xx] [--AA] [--BB] [--JJ] [--LL] [--SS] [--TT] [--VV] [--ZZ]
//uussrr//ssbbiinn//ccssaajjrreepp [--ss file] [--AA]
//uussrr//ssbbiinn//ccssaajjrreepp [--ss file] [--WW [--AA]
DESCRIPTION
The ccssaajjrreepp command reports job accounting information
from the sorted pacct file, which is created by the
csabuild(8) command.
The ccssaajjrreepp command accepts the following three types of
options: input, selection, and printing. If you omit the
options, input is read from //vvaarr//ccssaa//wwoorrkk//ssppaacccctt and all
records from each completed job are reported. You can
select a subset of jobs by specifying the user ID, project
ID (deferred), job ID, or workload management request ID,
for which you seek accounting information.
Input Options
The following option specifies an input file for the job
accounting report:
--ss file Specifies the name of the sorted pacct file cre
ated by csabuild(8). The default file is
//vvaarr//ccssaa//wwoorrkk//ssppaacccctt.
Selection Options
By default, the --jj, --pp, and --uu selection options report
entire jobs. The --ee option limits the report to records
that match the selection criteria. The --ee option must be
used with at least one of the following options: --jj, --pp,
or --uu. You cannot specify the --FF option in combination
with any of the following options: --jj, --pp, or --uu.
Otherwise, the ccssaajjrreepp command accepts the following
selection options:
--ee Selects only the records that meet the selection
criteria as defined by the --jj, --pp, and --uu
options. The --ee option must be used with at
least one of these four options. By default,
ccssaajjrreepp outputs all of the records from jobs
that contain at least one record that meets the
selection criteria.
--jj jid Specifies a (numeric) job ID. The job ID must
"0X" prefix are optional.
--pp projid Specifies a numeric project ID or project name.
(deferred)
--rr reqid Specifies a workload management request ID.
--uu uid Specifies a numeric user ID or a user login
name.
--FF By default, --FF displays all records for com
pleted jobs. This option cannot be used with
any of the following options: --ee, --jj, --pp, and
--uu. When --FF is used with the --AA option, all
records for both active and completed jobs are
reported. When --FF is used with the --ZZ option,
all records are reported except those with a job
ID (jid) of 0.
--WW Selects only workload requests. Information
about each segment of a request is reported by a
combination of job_id, user_id, and project_id
(project_id is deferred).
--ZZ Ignores records for which the job ID is equal to
00.
Printing Options
The ccssaajjrreepp command accepts the following printing
options:
--bb Reports system billing unit (SBU) usage.
--cc Reports system and user CPU usage.
--hh Suppresses report headings.
--qq For workload management records, reports the
queue wait time and queue type.
--tt Prints summary information.
--ww Reports the block I/O wait time, raw I/O wait
time, high-water core memory usage value, and
high-water virtual memory usage value.
--xx Reports the number of k-characters read and
written, the number of blocks read and written,
and the number of read and write system calls.
The read and written values are printed sepa
rately.
--AA Reports both active and completed jobs. By
--BB Reports process and job starting times.
--JJ Reports job ID.
--LL Puts form feeds at the end of each job.
--SS Reports the array session handle. (deferred)
--TT Prints only summary information for each job.
--VV Reports page swaps, minor and major faults.
NOTES
A job may contain multiple user IDs and project IDs
(deferred), because the user may have executed a command
such as su(1).
When the --uu option is used without the --ee option, all
records for jobs containing at least one accounting record
for the specified user are displayed.
For example, if user1 executes the command rrsshh ssggii wwhhoo
from a remote host, then the command //uussrr//ssbbiinn//ccssaajjrreepp --uu
uusseerr11 --JJBBcc --ss ssppaacccctt would produce output similar to:
JOB PROJECT LOGIN COMMAND START USER-TIM SYS-TIM
ID NAME NAME NAME TIME [SECS] [SECS]
============= ======== ======== ======== ==================== ======== ========
0x146 Xydev user1 who Jan 7 13:28:02 2000 0.004 0.008
0x146 System root rshd Jan 7 13:28:02 2000 0.004 0.014
The rshd(8) command was executed by root on behalf of user
uusseerr11; thus it is reported by the ccssaajjrreepp --uu option.
When used with --uu, the --ee option suppresses the printing
of all accounting records which are not for the specified
user. In the previous example, the command
//uussrr//ssbbiinn//ccssaajjrreepp --eeuu uusseerr11 --JJBBcc --ss ssppaacccctt would produce
output similar to:
JOB PROJECT LOGIN COMMAND START USER-TIM SYS-TIM
ID NAME NAME NAME TIME [SECS] [SECS]
============= ======== ======== ======== ==================== ======== ========
0x146 Xydev user1 who Jan 7 13:28:02 2000 0.004 0.008
EXAMPLES
Example 1: The following example generates a list of com
mands by job that user jjddooee executed. The list includes
job ID, start time, and both terminated and nonterminated
ccssaajjrreepp --uu jjddooee --AABBJJ
SEE ALSO
csabuild(8), csarun(8).
Man(1) output converted with
man2html