Job Management Partner 1/Base User's Guide

[Contents][Glossary][Index][Back][Next]


jbsgetopinfo

Function

The jbsgetopinfo command collects operating information, converts it to the definition file format, and outputs to the standard output. Definitions for forwarding events, log file traps, and event log traps can be collected as operating information.

Format

jbsgetopinfo [-h logical-host-name]
              [-o operating-information-name, ...]
              [-i ID-number | -a monitoring-target-name]

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

Specify the name of the logical host from which you want to collect operating information. 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.

-o operating-information-name, ...

Specify the name of the operating information you want to collect. If you omit this option, the system assumes that all of the operating information names are specified. When multiple operating information names are specified, separate the names with commas.

You can specify any of the following operating information names.

-i ID-number |-a monitoring-target-name

This option is valid only when logtrap is specified as an operating information name. For ID-number, specify the ID number of the log file trap that you want to collect operating information. For monitoring-target-name, specify a monitoring target name of the log file trap that you want to collect operating information. Specify either ID-number or monitoring-target-name. If logtrap is specified as an operating information name and this option is omitted, definitions of all the active log file traps are collected.

Notes

Return values

0 Normal end
1 Invalid argument
2 No operating information
248 The operating information file is corrupted.
249 The specified logical host name does not exist.
250 The reloaded settings have not been reflected.
251 Other user is now accessing.
252 No execution permission
253 UAC error
254 Insufficient memory
255 Other error

[Contents][Back][Next]


[Trademarks]

All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.