Process and Memory Management Commands on Cisco IOS-XR Software monitor threads
SMR-277
Cisco IOS-XR System Management Command Reference
monitor threads
To display auto-updating statistics on threads in a full-screen mode, use the monitor threads command
in EXEC mode.
monitor threads [dumbtty] [iteration number] [location node-id]
Syntax Description
Defaults When all keywords are omitted, the command displays the first ten threads for the local node, sorted in
descending order by the time used. The display is cleared and updated every 5 seconds until you quit the
monitor command.
Command Modes EXEC
Command History
Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper
task IDs. For detailed information about user groups and task IDs, refer to the Configuring AAA Services
on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
This command shows the top 10 threads based on CPU usage. The display refreshes every 10 seconds.
To change the parameters displayed by the monitor threads command, enter one of the key
commands described in Tabl e 15.
To terminate the display and return to the system prompt, enter the q key.
To list the interactive commands, type ? during the display. Example:
The options are described in Tabl e 15.
dumbtty (Optional) Displays the output of the command as if on a dumb
terminal (the screen is not refreshed).
iteration number (Optional) Number of times the statistics display is to be updated, in
the range from 0 to 4294967295.
location node-id (Optional) Displays the output from the command from the designated
node. The node-id argument is entered in the rack/slot/module
notation.
Release Modification
Release 2.0 This command was introduced.
Table15 Interactive Display Commands for the monitor threads Command
Command Description
qQuits the interactive display and returns to the system prompt.
nChanges the number of threads to be displayed.