11-222
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
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
1. ifhandle 0x01000100 type 6 IPV4_UNICAST opts 0x1 (REG)
2. ifhandle 0x01000100 type 8 IPV6_UNICAST opts 0x1 (REG)
3. ifhandle 0x01000100 type 10 MPLS opts 0x1 (REG)
show statsd registrations Command
The show statsd registrations command lists all the processes that return data for a specific registration.
The statistics type is specified either by using the feature and item strings or by using the statistics type
ID, which is found in the output from the show statsd manager info command. The output provides
only the node and process ID (PID) values of the collector process. To locate the process name, you need
the output from the show statsd collectors command with the brief keyword.
The following sample output is from the show statsd registrations command with the ifname keyword:
RP/0/RP0/CPU0:router# show statsd registrations ifname MgmtEth 0/0/CPU0/0 feature internal
generic
STATS REGISTRATIONS
-------------------
ID type: 1 (ifhandle) ID: 0x01000100 feature: internal item: generic
Node PID Size Options
---- --- ---- -------
0x0 28696 188 0x11 (ABS|REG)
The following sample output is from the show statsd registrations command with the ifhandle
keyword:
RP/0/RP0/CPU0:router# show statsd registrations ifhandle 0x01000100 type 6
STATS REGISTRATIONS
-------------------
ID type: 1 (ifhandle) ID: 0x01000100 stats type: 6
Node PID Size Options
---- --- ---- -------
0x0 131157 76 0x1 (REG)
0x0 131160 24 0x41 (USE_SW|REG)
show statsd requests Command
The show statsd requests command parses the ltrace buffers to provide details of the most recent
statistics requests that have been handled by the statistics manager.
The following sample output is from the show statsd requests command:
RP/0/RP0/CPU0:router# show statsd requests
1 unique entries (64 possible, 0 filtered)
118 wrapping entries (1024 possible, 0 filtered, 118 total)
STATS REQUEST DATA
------------------
Displaying data about the last 12 requests (0 failed)
min / avg / max
Time taken (ms): 1 / 15 / 37