9.7.2 Commands Used When Linking with JP1/IM3
The following table lists the command used when linking with JP1/IM3.
|
Function |
Command name |
Windows |
UNIX |
Required privileges |
Supported products |
|---|---|---|---|---|---|
|
Convert the execution time of the JP1/AJS3 root jobnet to a metric. |
Y |
Y |
|
JP1/AJS3 - Manager |
- Legend:
-
Y: Supported
- Organization of this subsection
(1) ajseventmetric
- Format
ajseventmetrics [ -h logical-host-name ] [ -c { EUC | SJIS | UTF-8 | C } ] [ -F scheduler-service-name ] [ -d name-of-the-control-information-storage-directory ] [ -l name-of-log-file-directory ]- Description
-
This function searches the event database of JP1/Base and converts JP1 events into metrics. If executed repeatedly, the range searched in the previous execution will be excluded from the search. The converted metrics are output to the standard output in text-based format.
The JP1 events to be converted are as follows:
Table 9‒6: JP1 Events Convertible to Metrics Event Name
Event ID
Metric
Jobnet normal end event
00004103
Execution time of the root jobnet
- Execution privileges
-
In Windows: Administrators privileges
In UNIX: Superuser privileges
- Storage directory
-
- In Windows:
-
JP1/AJS3-Manager-installation-folder\jp1ajs2\tools\
- In UNIX:
-
/opt/jp1ajs2/tools/
- Arguments
-
- -h logical-host-name
-
Specify the event server name of the event database targeted for retrieval. If this option is omitted, the host name of the physical host is assumed.
- -F scheduler-service-name
-
Specify the scheduler service to target. If this option is specified, only events from the specified scheduler service will be converted to metrics. If this option is omitted, events from all scheduler services will be converted to metrics.
- -c {EUC | SJIS | UTF-8 | C }
-
Specify the character code in which JP1/AJS3 - Manager will operate.
-
C : ASCII
-
SJIS : Shift-JIS
-
EUC : EUC
-
UTF-8 : UTF-8
If this option is omitted, the value of the environment setting parameter AJSCHARCODE will be used as the character code.
-
- -d name-of-the-control-information-storage-directory
-
Specify the directory where the internal file used by the command will be placed. If this option is omitted, the value of the environment setting parameter AJSSYSDIR (lower-level HOST key) will be used as the control information storage directory.
When executing multiple instances of this command on the same host, specify different directories for each instance.
- -l name-of-log-file-directory
-
Specify the directory to output the command log file. If this option is omitted, the value of the environment setting parameter AJSLOGDIR (lower-level HOST key) is used as the log file directory.
When executing multiple instances of this command on the same host, specify different directories for each instance.
- Notes
-
If multiple identical options are specified, the one specified later will be effective.
- Return values
-
0
Normal end
Other than the above
Abnormal end