Job Management Partner 1/Base User's Guide
Function
The jbs_spmd_status command checks whether JP1/Base processes other than the event service have started or stopped. If the processes have started normally, the jbs_spmd_status command returns the following information.
- If an authentication server has been set:
- jbssessionmgr
- jbsroute
- jcocmd
- jbsplugin
- jbshcd
- jbshchostd
- jbssrvmgr
- jbslcact
- jbscomd
- If an authentication server has not been set:
- jbsroute
- jcocmd
- jbsplugin
- jbshcd
- jbshchostd
- jbssrvmgr
- jbslcact
- jbscomd
For details on the processes managed by JP1/Base, see B. List of Processes.
Format
jbs_spmd_status [-h logical-host-name] [-t timeout-in-seconds]
Required execution permission
In Windows: Administrators (If User Account Control (UAC) for Windows is enabled, you must execute the command from the administrator console.)
In UNIX: Superuser
Command directory
- In Windows:
- installation-folder\bin\
- In UNIX:
- /opt/jp1base/bin/
Arguments
-h logical-host-name
When using JP1/Base in a cluster system, specify the logical host where you want to check whether JP1/Base processes have started or stopped. You can enter a character string that is from 1 to 255 bytes to specify the logical host. If you omit this option, the host name set in the environment variable JP1_HOSTNAME is assumed. If the environment variable JP1_HOSTNAME is not set, the physical host name is assumed.
-t timeout (in seconds)
Specify how long the system should wait for the jbs_spmd_status command to complete execution. The specifiable range is 0 to 32,767. If the jbs_spmd_status command does not complete execution within the specified time, execution is assumed to have failed. The default is 60 seconds.
Note
You cannot execute multiple instances of the jbs_spmd_status, jbs_spmd_reload, or jbs_spmd_stop command at the same time on a single host.
Return values
0 All processes are active. 1 An error has occurred in, for example, the communication with the process management, or, a shared folder (shared directory) is not mounted while using JP1/Base in a cluster system. 4 Some processes are active. 8 All of the child processes have stopped. 12 The request is being processed or a timeout occurs (retry is acceptable).
All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.