show log counters

show log counters {event condition | [all | event component]} {include | notified | occurred} {severity severity {only}}}

Description

Displays the incident counters for events.

Syntax Description

event condition Specifies the event condition to display.
all Specifies that all events are to be displayed.
event component Specifies that all the events associated with a particular component or subcomponent should be displayed.
include Specifies if one or more targets should be included in this event.
notified Specifies the number of times this event has occurred.
occurred Specifies the number of times this event has occurred since the last clear or reboot.
severity Specifies the minimum severity level of events to display (if the keyword only is omitted).
only Specifies that only events of the specified severity level are to be displayed.

Default

If severity is not specified, then events of all severity are displayed.

Usage Guidelines

This command displays the incident counters for each event specified. Two incident counters are displayed. One counter displays the number of times an event has occurred, and the other displays the number of times that notification for the event was made to the system (an incident record was injected into the system for further processing). Both incident counters reflect totals accumulated since reboot or since the counters were cleared using the clear log counters or clear counters command, regardless of whether it was filtered or not.

The keywords include, notified, and occurred only display events with non-zero counter values for the corresponding counter.

This command also displays a reference count (the column titled Rf in the output). The reference count is the number of enabled targets receiving notifications of this event.

See the command show log for more information about severity levels.

To get a listing of the event conditions in the system, use the following command:

show log events

To get a listing of the components present in the system, use the following command:

show log components

Example

The following command displays the event counters for event conditions of severity debug-summary or greater in the component STP.InBPDU:

show log counters stp.inbpdu severity debug-summary

The following is sample output from this command:

Comp    SubComp     Condition               Severity      Occurred  In Notified
------- ----------- ----------------------- ------------- --------  -- --------
STP     InBPDU      Drop                    Error                0  Y         0
STP     InBPDU      Ign                     Debug-Summary        0  N         0
STP     InBPDU      Mismatch                Warning              0  Y         0
Occurred  : # of times this event has occurred since last clear or reboot
Flags     : (*) Not all applications responded in time with there count values
In(cluded): Set to Y(es) if one or more targets filter includes this event
Notified  : # of times this event has occurred when 'Included' was Y(es)

The following command displays the event counters for the event condition PDUDrop in the component STP.InBPDU:

show log counters "STP.InBPDU.Drop"

The following is sample output from this command:

Comp    SubComp     Condition               Severity      Occurred  In Notified
------- ----------- ----------------------- ------------- --------  -- --------
STP     InBPDU      Drop                    Error                0  Y         0
Occurred  : # of times this event has occurred since last clear or reboot
Flags     : (*) Not all applications responded in time with there count values
In(cluded): Set to Y(es) if one or more targets filter includes this event
Notified  : # of times this event has occurred when 'Included' was Y(es)

History

This command was first available in ExtremeXOS 10.1.

Platform Availability

This command is available on all platforms.