Synopsis
mjptree [-sys subsystem-number](*1) job
[-sys subsystem-number] is an option of Systemwalker Operation Manager EE.
Description
The mjptree command displays the processes that are running under a job.
Depending on the privileges that the user executing this command has, the jobs that can be displayed differ as follow:
Privileges other than the system administrator privileges:
The jobs submitted by the user executing this command can be displayed.
System administrator privileges
All jobs can be displayed.
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
job
Specifies the job for which a process list is to be displayed.
Jobs are specified using the following format. See "7.6 qjalter Job Attribute Alter Command" for an explanation of the various parameters that can be specified and other important information.
job-name(jobno.hostname)
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 |
Output Example
The following example displays process information relating to job1:
C:\> mjptree job1 1744 CMD.EXE 4656 ModuleA.exe 4304 ModuleB.exe 5228 ModuleC.exe (1) (2)
The following lists the items that are displayed in the above examples:
(1) Process number
(2) File name of executed module
Cautions
This command can only be used on jobs started in trace mode.
This command can only display active processes.
If this command is executed on a job that is not running (a job whose status is "Waiting", "Holding" or "Output held"), an error will result.
Run this command on an execution server if it is to be used on a network job. An error will occur if it is executed on the server from which the job is submitted.