jevlogstat
- Organization of this page
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 or JP1/Base administrator permission
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 started by the jevlogstart command and by JP1/AJS log file monitoring jobs. 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 |