11-217
Cisco IOS XR Troubleshooting Guide for the Cisco CRS-1 Router
OL-21483-02
Chapter 11 Troubleshooting the Statistics Infrastructure
Trace Commands for the Statistics Infrastructure
Trace Commands for the Statistics Infrastructure
Trace logs are buffers that wrap data which contains a history of recent events. Unlike debugging, which
must be enabled, traces are always written to the logs. Therefore, the trace logs are always available after
any problem has occurred. The statistics manager trace logs must always be recovered for any problem
that involves the statistics infrastructure.
These sections list the trace commands that are used for the statistics infrastructure:
• show statsd manager trace Command, page 11-217
• show statsd server trace Command, page 11-218
• show stats lib trace, page 11-218
Note All the statistics trace commands are included in show tech-support pfi command and need not be run
separately if the tech-support output has already been collected.
show statsd manager trace Command
Table 11-3 lists the trace buffers that are included in the output of the show statsd manager trace
command. Each buffer can be displayed individually or in any combination. If no argument is specified,
all buffers are displayed.
Table 11-3 Buffer Descriptions for the show statsd manager trace Command
Buffer Description
error Lists all unexpected events that have occurred in the statistics
manager. Events are stored based on uniqueness so that at least one
copy of each different error message is retained even if the main buffer
was wrapped.
request Lists all the requests that have been made and the number of responses
that have been received with the node and PID that the response came
from. The output of the request buffer is used with the show statsd
collectors command with the brief keyword, to match the response to
a particular process.
collection Lists all the updates that are received from the collector. The buffer
wraps frequently because messages are sent periodically and contains
only data about fairly recent events.
store Lists the records that are added and removed from the internal table
used by the statistics manager to store its data in the memory such that
it can be recovered after a process restart or failover.
datatree Lists the entries that have been added into or removed from the
datatree that indexes the checkpoint table.
types Lists the mappings that have been made between the feature and item
strings and statistics type IDs.