Synopsis
mjdjstat [-sys subsystem-number](*1) [hostgroup-name...]
[-sys subsystem-number] is an option of Systemwalker Operation Manager EE.
Description
The mjdjstat command displays the following distributed job execution information.
Host group name
Host name
Max execution jobs (multiplicity) of host
Host status
Executing jobs (number of jobs in executing state) of host
Option
-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.
Operand
hostgroup-name
Specifies the name of host group whose status is to be displayed. When specifying multiple names, separate them by a space. No wildcard can be used.
When you want to display the information for a particular host group, use this operand. If hostgroup-name is omitted, the information on all the host groups is displayed.
Host Status
The host can be in one of the following states.
The host in this state can be a destination server to which the job for distributed execution is submitted. The host will be in any of the following states:
No job has ever been submitted to this server as the execution destination since the Job Execution Control operation was started.
A previous job submission was successfully performed.
The execution server was in DOWN status when the job submission was attempted last time, but approximately 10 minutes have passed already since the DOWN status was detected.
The host in this state cannot be a destination server to which the job for distributed execution is submitted. If the destination server of the distributed job execution is detected as DOWN state, this status continues for ten minutes at maximum.
The Job Execution Control function on the server that executed this command is stopping, so cannot get the status of the destination host.
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 gives an example to display the information of "djgroup1" and "djgroup2" host groups.
C:\>mjdjstat djgroup1 djgroup2 hostgroup = djgroup1 hostname = djhost11 maxexec = 20 state = ACT run = 2 hostname = djhost12 maxexec = 3 state = ACT run = 0 hostname = djhost13 maxexec = 5 state = ACT run = 0 hostgroup = djgroup2 hostname = djhost21 maxexec = 10 state = ACT run = 1 hostname = djhost22 maxexec = 10 state = ACT run = 1
Cautions
This command is available only on the Systemwalker Operation Manager server (source server of the distributed job execution).
The definition status at that time can be referenced even if the Job Execution Control service/daemon on the server that executed this command is stopping. However, the host status is "NA", and the number of executing jobs on the host is "0".