280
Related commands
•
monitor kernel starvation enable
•
monitor kernel starvation exclude-thread
•
monitor kernel starvation time
display process
Use
display
process
to display process state information.
Syntax
display
process
[
all
|
job
job-id
|
name
process-name
] [
slot
slot-number
[
cpu
cpu-number
] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
all
: Specifies all processes. With the
all
keyword or without any parameters, the command displays
state information for all processes.
job job-id
: Specifies a process by its job ID, in the range of 1 to 2147483647. Each process has a
fixed job ID.
name process-name
: Specifies a process by its name, a case-insensitive string of 1 to 15 characters
that must not contain question marks or spaces.
slot
slot-number
: Specifies an IRF member device by its ID. If you do not specify this option, the
command displays process state information for the master device.
cpu
cpu-number
: Specifies a CPU by its number.
Examples
# Display state information for process
scmd
.
<Sysname> display process name scmd
Job ID: 1
PID: 1
Parent JID: 0
Parent PID: 0
Executable path: -
Instance: 0
Respawn: OFF
Respawn count: 1
Max. spawns per minute: 0
Last started: Wed Jun 1 14:45:46 2013
Process state: sleeping
Max. core: 0
ARGS: -
TID LAST_CPU Stack PRI State HH:MM:SS:MESC Name
1 0 0K 120 S 0:0:5:220 scmd