show task

This chapter describes the outputs of the show task command.

show task info

This command displays current information about tasks running on the system.
Table 1. show task info Command Output Descriptions
Field Description

Task <facility> instance <id>

Identifies the task by its facility name and the instance identifier for which statistics are displayed.

Process <process>

Identifies the process for which statistics are displayed.

Location

The card number, CPU number and process identifier (Pid) for which statistics are displayed.

Parent

The parent task and instance identifier, as well the location where the parent task is running.

CPU usage

The percentage of CPU time actually used versus allocated (allc), as well as the maximum used.

File usage

The number of files actually used versus allocated, as well as the maximum used.

Memory usage

The amount of memory (in megabytes) actually used versus allocated, as well as the maximum used. (release 12.x)



show task resources card

This command displays current statistics per card.
Table 2. show task resources card Command Output Descriptions
Field Description

cpu

The CPU on the specified card where the task is running (identified by slot_number/CPU_number).

facility

The facility for which statistics are displayed.

task inst

The task instance identifier.

cputime

The percentage of CPU time actually used versus the allocated time (allc).

memory

The amount of memory (in megabytes) actually used versus allocated.

files

The number of files actually used versus allocated.

sessions

The number of sessions used versus allocated, as well as the status of those sessions.

Total

Summary for all task instances, CPU time, memory, files and sessions.



show task resources facility

This command displays current statistics for the specified facility.
Table 3. show task resources facility Command Output Descriptions
Field Description

cpu

The CPU on the card where the facility is running (identified by slot_number/CPU_number).

facility

The facility for which statistics are displayed.

task inst

The task instance identifier.

cputime

The percentage of CPU time actually used versus the allocated time (allc).

memory

The amount of memory (in megabytes) actually used versus allocated.

files

The number of files actually used versus allocated.

sessions

The number of sessions used versus allocated, as well as the status of those sessions.

Total

Summary for all task instances, CPU time, memory, files and sessions.



show task resources max

This command displays maximum (instead of current) statistics for all facilities.
Table 4. show task resources max Command Output Descriptions
Field Description

cpu

The CPU on the specified card where the facility is running (identified by slot_number/CPU_number).

facility

The facility for which maximum statistics are displayed.

task inst

The task instance identifier.

cputime

The maximum percentage of CPU time actually used versus the allocated time (allc).

memory

The maximum amount of memory (in megabytes) actually used versus allocated.

files

The maximum number of files actually used versus allocated.

sessions

The maximum number of sessions used versus allocated, as well as the status of those sessions.

Total

Summary of maximum statistics for all task instances, CPU time, memory, files and sessions.



show task table

This command displays current statistics for all child and parent facilities running on all cards in the system.
Table 5. show task table Command Output Descriptions
Field Description

Currently Running Tasks

cpu

The CPU on the specified card where the facility is running (identified by slot_number/CPU_number).

task facility

The task/facility for which statistics are displayed.

inst

The task instance identifier.

pid

The process identifier.

pri

The priority of the instance.

Parent Tasks

parent facility

The parent facility of the task for which statistics are displayed.

inst

The instance identifier of the parent facility.

pid

The process identifier of the parent facility.