C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
Process and Memory Management Commands on Cisco IOS XR Software
follow
SMR-513
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
follow
To unobtrusively debug a live process or a live thread in a process, use the
follow
command in EXEC
mode.
follow
{
job
job-id
|
process
pid
|
location
node-id
} [
all
] [
blocked
] [
debug
level
] [
delay
seconds
]
[
dump
address
size
] [
iteration
count
] [
priority
level
] [
stackonly
] [
thread
tid
] [
verbose
]
Syntax Description
Defaults
Entering the
follow
command without any optional keywords or arguments performs the operation for
five iterations from the local node with a delay of 5 seconds between each iteration. The output includes
information about all live threads. This command uses the default scheduling priority from where the
command is being run.
Command Modes
EXEC
Command History
job
job-id
Follows a process by job ID.
process
pid
Follows the process with the process ID (PID) specified for the
pid
argument.
location
node-id
(Optional) Follows the target process on the designated node. The
node-id
argument is expressed in the
rack
/
slot
/
module
notation.
all
(Optional) Follows all threads.
blocked
(Optional) Follows the chain of thread IDs (TIDs) or PIDs that are blocking
the target process.
debug
level
(Optional) Sets the debug level for the following operation. Valid values for
the level argument are 0 to 10.
delay
seconds
(Optional) Sets the delay interval between each iteration. Valid values for the
seconds
argument are 0 to 255 seconds.
dump
address
size
(Optional) Dumps the memory segment starting with the specified memory
address and size specified for the
address
and
size
arguments.
iteration
count
(Optional) Specifies the number of times to display information. Valid
values for the
count
argument are 0 to 255 iterations.
priority
level
(Optional) Sets the priority level for the following operation. Valid values for
the
level
argument are 1 to 63.
stackonly
(Optional) Displays only stack trace information.
thread
tid
(Optional) Follows the TID of a process or job ID specified for the
tid
argument.
verbose
(Optional) Displays register and status information pertaining to the target
process.
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.