Top
Systemwalker Operation Manager  Reference Guide
FUJITSU Software

7.16 qjstat Job Information Display Command

Synopsis

qjstat [-sys subsystem-number](*1) [-u user-name] [-l] [-m] [-x] [job ...]
*1:

[-sys subsystem-number] is an option of Systemwalker Operation Manager EE.

Description

The qjstat command displays the following job information:

If this command is executed by the system administrator, the following information is displayed as well:

Depending on the privileges that the user executing this command has, the jobs that can be displayed differ as follow:

If all the options are omitted, the status of the job that was submitted by the user executing this command is displayed.

If the appropriate job does not exist, nothing is displayed.

Options

Enterprise Edition-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.

-m

Displays the following job information if the user executing this command is the system administrator:

-u user-name

When the system administrator displays the information of a particular user's job, the user name of the job owner must be specified in this option.

If blanks are contained in the user name, enclose the entire user name in double quotation marks. [Windows]

The user of Operation Manager cannot be specified. [UNIX]

-l

Displays the detailed job information.

If the system administrator specifies this option, the command also displays the following information:

-x

Displays the information of jobs that are running (in a run state).

Operand

job

Specifies the job that whose information is to be displayed.

Use the following format to specify this operand:

For more details on each attribute, see "7.6 qjalter Job Attribute Alter Command".

job-name(jobno.hostname)

Job status

A job will enter various statuses after being submitted until it completes.

Those statues are the following:

hld

Indicates that the job status is on hold, and cannot enter another status.

que

Indicates that the job is waiting for the pre-execution process and its turn to enter the "run" state.

run

Indicates that the job is currently executing.

oph

Indicates that outputting is being suspended.

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
Linux

/opt/FJSVMJS/usr/bin

HP-UX

/opt/FHPMJS/usr/bin

AIX

/opt/FAIXMJS/usr/bin

Output Example

The following is an example of the display when the system administrator executed the command with the "-l" and "-m" options.

The following is an example of the display when the general users executed the command with the "-l" option.

The following lists the items that are displayed in the above examples:

(1) Job name (The job name length is limited to 20 bytes if the job is executed by a general user.)

(2) Job number

(3) Queue name

(4) Job status [run: executing, que: waiting, hld: holding, oph: holding output]

(5) Execution priority

(6) Dispatch priority

(7) The time that has elapsed since the job execution start time (only for jobs currently executing)

(8) Client host name

(9) Client user name

(10) The date and time that the job was submitted

(11) The date and time that the job execution started (only for jobs currently running)

(12) Job process number

(13) Request host name

Cautions (the order of information displayed)