9-10
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
Chapter 9 Troubleshooting the Cisco IOS XR Software
Understanding Processes and Threads
The following is sample output from the show processes command:
RP/0/RP0/CPU0:router# show processes ospf
Job Id: 261
PID: 139453
Executable path: /hfr-rout-0.44.0/bin/ospf
Instance #: 1
Version ID: 00.00.0000
Respawn: ON
Respawn count: 1
Max. spawns per minute: 12
Last started: Wed Mar 17 07:46:26 2004
Process state: Run
Package state: Normal
Started on config: cfg/gl/ipv4-ospf/proc/100/ord_a/routerid
core: TEXT SHAREDMEM MAINMEM
Max. core: 0
Mandatory: ON
Placement: ON
startup_path: /pkg/startup/ospf.startup
Process cpu time: 0.410 user, 0.183 kernel, 0.593 total
JID TID LastCPU Stack pri state HR:MM:SS:MSEC NAME
261 1 0 40K 10 Receive 0:00:00:0397 ospf
261 2 1 40K 10 Receive 0:00:00:0003 ospf
261 3 0 40K 10 Receive 0:00:00:0007 ospf
261 4 1 40K 10 Condvar 0:00:00:0000 ospf
--More--
show processes memory Command
The show processes memory command displays details of memory usage for a given process or for all
processes, as shown in the following example. Table 9-6 describes the column heading output.
Table 9-6 Column Heading Descriptions for show process memory Output
Output Heading Description
JID Job ID.
Text Size of text region (process executable).
Data Size of data region (initialized and uninitialized variables).
Stack Size of process stack.
Dynamic Size of dynamically allocated memory.
Process Process name.