jevfwstat
- Organization of this page
Function
The jevfwstat command displays JP1 event forwarding suppression status for each condition for the suppression of event-forwarding (suppress).
Format
jevfwstat [-h event-server-name]
Required execution permission
In Windows: Administrators privileges (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 privileges
Command directory
- In Windows
-
installation-folder\bin\
- In UNIX
-
/opt/jp1base/bin/
Argument
- -h event-server-name
-
Specify an event server name on which you want to check the JP1 event forwarding status. Specify the event server name as a character string of no more than 128 bytes.
If you omit this option, the event server name is assumed as a host name in the following order of priority:
-
The logical host name specified in the JP1_HOSTNAME environment variable
-
The local host name, if an asterisk (*) or the local host name (physical host name returned by the hostname command) has priority in the server parameter of the event server index file (index)
-
The FQDN name, if an at mark (@) or FQDN name has priority in the server parameter of the event server index file (index)
-
The local host name (physical host name returned by the hostname command)
-
Note
You cannot execute multiple instances of the jevfwstat command at the same time. If you attempt to execute the jevfwstat command when another user is executing the same command, the message KAJP1352-E is output and the command execution fails.
Return values
0 |
Normal end |
1 |
Argument error |
2 |
Event server is not running. |
3 |
Another user is executing the command. |
255 |
Other error |
Example
The following shows an example of the output:
KAJP1350-I The status of the threshold-based suppression of event-forwarding for agent01 will be checked. ID C Forwarded Suppressed LastModified BaseTime Detection ----------- - ---------- ---------- ------------------- -------- --------- log1 F 8 0 None 11:37:10 0/1 log2 S 136 1274 2014/05/22 11:33:42 11:37:02 1/2 log3 F 309 520 2014/05/22 11:33:12 11:37:12 2/3
The following table describes meaning of the headers.
Header |
Description |
---|---|
ID |
Identifier specified for the condition for the suppression of event-forwarding (suppress) |
C |
S is output when event forwarding is in suppressed status, and F is output when in forwarded status (suppression-stopped status). |
Forwarded# |
The number of JP1 events that were forwarded. |
Suppressed# |
The number of JP1 events that were suppressed from being forwarded. |
LastModified |
The most recent time at when the suppression status has changed. |
BaseTime |
The time used as the base for the current unit time. |
Detection |
Output differs depending on whether event forwarding is in suppressed status (the C value is S) or forwarded status (the C value is F).
|