Skip to main content

Job Resource-Usage Reporting

The following table lists the OpCon Field Code and description for data returned with each job when job resource-usage reporting is enabled (LSAM configuration parameter LSAM_job_statistics set to 1):

FC'struct rusage'Description
6801ru_utimeCPU usage - user code (milliseconds)
6802ru_stimeCPU usage - system code (milliseconds)
6803ru_maxrssmax resident set size used (kilobytes)
6804ru_ixrssintegral shared memory size; amount of sharing of text segment memory with other processes (kilobyte-seconds)
6805ru_idrssintegral unshared data size; amount of data segment memory used (kilobyte-seconds)
6806ru_isrssintegral unshared stack size; amount of stack memory used (kilobyte-seconds)
6807ru_minfltnumber of page reclaims; soft page faults, i.e., those serviced by reclaiming a page from the list of pages awaiting reallocation
6808ru_majfltnumber of page faults; hard page faults, i.e., those that required I/O
6809ru_nswapnumber of swaps; times a process was swapped out of physical memory
6810ru_inblocknumber of block input operations; input operations via the file system, does not include operations with the cache
6811ru_oublocknumber of block output operations; output operations via the file system, does not include operations with the cache
6812ru_iochnumber of characters read/written
6813ru_msgsndnumber of IPC messages sent
6814ru_msgrvcnumber of IPC messages received
6815ru_nsignalsnumber of signals received
6816ru_nvcswnumber of voluntary context switches; times the process gave up the CPU before it had to (usually to wait for some resource to be available)
6817ru_nivcswnumber of involuntary context switches; times the process was forced to relinquish control of the CPU because a higher priority process became run able or the current process used up its time slice
6818n/awall-clock run time (seconds)

Except for "wall-clock run time", which is calculated by the LSAM, text appearing in column Descriptions was compiled from #include files on various systems. The items appearing in column 'struct rusage' indicate the member names for the data structure populated by the OS with the getrusage() system call.

The above table represents the entire set of possible values which may be reported. Not all systems support the entire set. Values not supplied to the LSAM by the OS are reported as zero. At a minimum, all systems will report meaningful values for CPU usage (FC 6801 and 6802) and wall-clock run time (FC 6818).

Job resource-usage stats are returned for SMA File Transfer (SMAFT) jobs as well as regular UNIX jobs when the destination machine is a UNIX machine. The resource-usage stats will reflect those of the Agent and not include any data from the Server (even if it's another UNIX box).