Process and Memory Management Commands on Cisco IOS-XR Software
monitor threads
SMR-278
Cisco IOS-XR System Management Command Reference
Examples monitor threads
RP/0/RP1/CPU0:router# monitor threads
195 processes; 628 threads;
CPU states: 98.2% idle, 0.9% user, 0.7% kernel
Memory: 2048M total, 1576M avail, page size 4K
JID TID LAST_CPU PRI STATE HH:MM:SS CPU COMMAND
1 12 1 10 Rcv 0:00:09 0.42% procnto-600-smp-cisco-instr
1 25 1 10 Run 0:00:30 0.36% procnto-600-smp-cisco-instr
342 1 1 19 Rcv 0:00:07 0.20% wdsysmon
52 5 0 21 Rcv 0:00:03 0.15% devc-conaux
52 3 1 18 Rcv 0:00:02 0.07% devc-conaux
532670 1 0 10 Rply 0:00:00 0.07% top
293 6 0 55 Rcv 0:00:06 0.03% shelfmgr
55 8 0 10 Rcv 0:00:02 0.03% eth_server
315 3 0 10 Rcv 0:00:11 0.03% sysdb_svr_local
55 7 0 55 Rcv 0:00:11 0.02% eth_server

monitor threads location

RP/0/RP1/CPU0:router# monitor threads location 0/rp1/cpu0
Computing times...195 processes; 628 threads;
CPU states: 95.1% idle, 2.7% user, 2.0% kernel
Memory: 2048M total, 1576M avail, page size 4K
JID TID LAST_CPU PRI STATE HH:MM:SS CPU COMMAND
1 25 0 10 Run 0:00:32 2.08% procnto-600-smp-cisco-instr
265 5 0 10 SigW 0:00:09 0.89% packet
279 1 1 10 Rcv 0:00:00 0.65% qsm
557246 1 0 10 Rply 0:00:00 0.51% top
293 5 1 55 Rcv 0:00:01 0.07% shelfmgr
180 13 1 10 Rcv 0:00:02 0.07% gsp
315 3 0 10 Rcv 0:00:12 0.07% sysdb_svr_local
55 7 1 55 Rcv 0:00:12 0.04% eth_server
180 1 0 10 Rcv 0:00:01 0.04% gsp
298 9 0 10 Rcv 0:00:01 0.04% snmpd

Use of Interactive Commands

When the n or d interactive command is used, the monitor threads command prompts for a number appropriate to the specific interactive command. The following is sample output from the monitor threads command showing the use of the interactive command n after the first display cycle to change the number of threads:
RP/0/RP1/CPU0:router# monitor threads
Computing times... 87 processes; 249 threads;
CPU states: 84.8% idle, 4.2% user, 10.9% kernel
Memory: 256M total, 175M avail, page size 4K
JID TID PRI STATE HH:MM:SS CPU COMMAND
dChanges the delay interval between updates.lRefreshes the screen.

Table15 Interactive Display Commands for the monitor threads Command (continued)

Command Description