11-221
Cisco IOS XR Troubleshooting Guide for the Cisco CRS-1 Router
OL-21483-02
Chapter 11 Troubleshooting the Statistics Infrastructure
Show Commands for the Statistics Infrastructure
The following sample output shows the brief output:
RP/0/RP0/CPU0:router# show statsd collectors brief location 0/0/CPU0
STATS COLLECTORS
Node PID Process Conn CB Reg Bytes Errors
---- --- ------- ---- -- --- ----- ------
0x0 131157 statsd_server 1 2 3 19020 0
0x0 131160 fib_mgr 7 14 6 700 0
0x0 192617 ipv6_nd 1 1 0 180 0
0x0 192639 clns 1 1 0 180 0
0x0 192640 arp 1 1 1 7060 0
0x0 192665 nd_partner 1 1 1 14884 0
The following sample output shows the default output:
RP/0/RP0/CPU0:router# show statsd collectors location 0/0/CPU0 pid 131157
STATS COLLECTORS
----------------------------------
statsd_server node: 0x0 PID: 131157
Total bytes sent: 23292 Total messages sent: 87 Errors: 0
periodic updates: 83 on-demand replies: 0
nacks: 1 other messages: 3
Connections: 1 Registered callbacks: 2
1. 0x0802d9fc Options 0x0 (DEFAULT)
Period 30 secs Bulk FALSE Total registrations 0
2. 0x0802d9c8 Options 0x0 (DEFAULT)
Period 30 secs Bulk TRUE Total registrations 3
The following sample output shows the detailed output:
RP/0/RP0/CPU0:router# show statsd collectors detail location 0/0/CPU0 pid 131157
STATS COLLECTORS
----------------------------------
statsd_server node: 0x0 PID: 131157
Total bytes sent: 25700 Total messages sent: 96 Errors: 0
periodic updates: 91 on-demand replies: 0
nacks: 1 other messages: 4
Table 11-7 Output Descriptions from the show statsd collectors Command
Output Description
brief Displays a a table of all the statistics collectors, the number of connections
made from the process, the number of callback functions, and the number of
registrations. In addition, the table shows the number of bytes that have been
sent from the collector and the number of messages that were not sent to the
manager.
default Displays more detail about each statistics collector that includes a count of the
total messages that have been sent and a breakdown into particular message
types. In addition, the default output lists the callback handles for each
registered callback function and provides the specified collection period, the
number of registrations that are associated with the handle, and whether a bulk
handler is registered or not.
detail Displays detailed output that contains the same data as the default output. In
addition, it includes a table of all the registrations made and the options that
are associated with them.