Job Management Partner 1/Base User's Guide

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


jevlogstat

Function

The jevlogstat command shows the operating status of log file trapping. This command returns the operating state of the log file trap that has the ID number or monitoring target name specified in the command argument.

Format

jevlogstat {ID-number|-a monitoring-target-name | ALL }

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

ID-number

Specify the ID number of the log file trap that you want to check. Process IDs are output to the standard output at execution of the jevlogstart command.

-a monitoring-target-name

Specify the monitoring target name of the log file trap that you want to check. You must use the -a option of the jevlogstart command to specify the monitoring target name.

ALL

This argument enables you to show the IDs for all the log file traps triggered by the jevlogstart command. If you specify a monitoring target name for a trap, the trap ID and the monitoring target name are shown.

Return values

0 The specified log file trap is active.
If ALL is specified, at least one active log file trap is active.
1 Invalid argument
2 The log-file trap management service or log-file trap management daemon is inactive.
3 No log file trap with the specified ID exists (the trap has already stopped).
255 Other error

[Contents][Back][Next]


[Trademarks]

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