Hitachi

JP1 Version 11 JP1/Integrated Management - Event Gateway for Network Node Manager i


jegn_spmd_status

Organization of this page

Function

This command checks whether processes managed by JP1/IM - EG for NNMi are running or have terminated. If the processes are running normally when the jegn_spmd_status command executes, the command displays the main service process name (jegneg4nnmi) and the process ID.

For details about the processes managed by JP1/IM - EG for NNMi, see B. Lists of Processes.

Format

jegn_spmd_status [-h logical-host-name]
                 [-t monitoring-period]

Execution permission

In Windows: Administrator permissions. If UAC is enabled, however, execute the command from the administrator console.

In UNIX: Superuser permissions

Storage directory

In Windows:

EG-for-NNMi-path\bin

In UNIX:

/opt/jp1eg4nnmi/bin

-h logical-host-name

Specifies the name of the logical host when you are operating in a cluster system. The permitted length is from 1 to 255 characters (bytes). If this option is omitted, the command assumes the logical host specified in the JP1_HOSTNAME environment variable. If the JP1_HOSTNAME environment variable is not specified, the command assumes the physical host. If you are not using a cluster system, there is no need to specify this argument.

-t monitoring-period

Specifies in seconds the amount of time to wait for termination of the jegn_spmd_status command. The permitted value range is from 0 to 32,767 (seconds). If this option is omitted, 60 is assumed. If the jegn_spmd_status command does not terminate within the specified amount of time, the system assumes that the jegn_spmd_status command has failed.

Notes

The jegn_spmd_reload and jegn_spmd_status commands cannot be executed more than once concurrently on the same host.

Return values

0

All processes are running.

1

An error occurred during communication (such as with process management); or, the shared folder (shared directory) is not mounted in the case of operation in a cluster system.

4

Some processes are running.

8

All processes are stopped.

12

Requested processing is underway or has timed out (retriable).