Synopsis
qstat [-a] [-sys subsystem-number](*1) [<queuename(s)>...]
[-sys subsystem-number] is an option of Systemwalker Operation Manager EE.
Description
The qstat command displays the following queue information:
Queue name
Queue status
Execution priority
Dispatch priority
Time lapse limit
Max execution jobs (multiplicity)
Max submit jobs (number of jobs that can be submitted)
Executing jobs (number of jobs in executing state)
Number of jobs in queuing state
Number of jobs in holding state
Default queue
System multiplicity
Default priority
Options
-sys subsystem-number
In the system with multiple subsystems, this option is used to specify the subsystem that you want to operate. Specify the target subsystem number using a range of 0 to 9. If omitted, the default is subsystem 0.
-a
Displays the following queue information:
Default queue
System multiplicity
Default priority
Operand
<queuename(s)>
Specify the queue name whose information that you want to display, using up to 15 bytes.
When you want to display the information for a particular queue, use this operand.
If this operand is omitted, information on all the queues is displayed.
Wildcards cannot be used in this operand.
Queue status
There are two statuses for queues:
A queue is active. Jobs can be accepted and executed.
A queue is inactive. Jobs can be accepted but not be executed.
Return Values
Return Value | Meaning |
---|---|
0 | The command processing has terminated normally. |
Other than 0 | The command processing has failed. An error message is output. |
Command Location
Windows | <Systemwalker Operation Manager installation directory>\MpWalker.JM\bin |
Solaris | /opt/FJSVMJS/usr/bin |
HP-UX | /opt/FHPMJS/usr/bin |
AIX | /opt/FAIXMJS/usr/bin |
Output Example
The following is a display example of resulting from executing the qstat queue command.
queuename status qprty dprty elapsed maxexec maxjobs run que hold queue1@host1 ACT 31 0 0 10 999 0 0 0 queue2@host1 ACT 31 0 0 10 999 0 0 0 queue3@host1 ACT 31 0 0 10 999 0 0 0 queue4@host1 ACT 31 0 0 10 999 0 0 0 queue5@host1 ACT 31 0 0 10 999 0 0 0 online1@host1 ACT 31 0 0 30 999 0 0 0
The following is an example of the display when executing the command with the "-a" option.
The following lists the items that are displayed in the above example:
(1) Queue name
(2) status [ACT: active, INACT: inactive]
(3) Execution priority
(4) Dispatch priority
(5) Time lapse limit
(6) Max execution jobs (multiplicity) [-1: Not limited]
(7) Max submit jobs (number of jobs that can be submitted) [-1: Not limited]
(8) Executing jobs (number of jobs in executing state)
(9) Number of jobs in queuing state
(10) Number of jobs in holding state
(11) Default queue name [not specify: Not specified]
(12) System multiplicity [-1: Not limited]
(13) Default priority [-1: Not specified]