[Contents] [Prev] [Next] [Index] [Report an Error]


Step 1: Display Information about Software Processes

Purpose

Display information about software processes to begin diagnosing an error condition.

Action

To display information about the software processes that are running on the router, use the following JUNOS CLI operational mode command:

user@host> show system processes extensive

Sample Output

user@host> show system processes extensive
last pid: 750; load averages: 0.00, 0.00, 0.00 up 0+00:58:50 18:34:17
52 processes: 1 running, 51 sleeping

Mem: 50M Active, 19M Inact, 38M Wired, 264K Cache, 86M Buf, 642M Free
Swap: 768M Total, 768M Free


PID USERNAME PRI NICE  SIZE    RES STATE  TIME WCPU    CPU COMMAND
546 root     10   0   9096K  1720K nanslp 0:21 0.00% 0.00% chassisd
685 root      2   0   12716K 3840K kqread 0:01 0.00% 0.00% rpd
553 root      2   0   8792K  1544K select 0:01 0.00% 0.00% mib2d
552 root      2   0   8632K  1556K select 0:01 0.00% 0.00% snmpd
563 root      2   0   9316K  1564K select 0:00 0.00% 0.00% kmd
564 root      2   0   7736K   948K select 0:00 0.00% 0.00% fud
131 root     10   0    770M 25568K mfsidl 0:00 0.00% 0.00% newfs
547 root      2   0   7732K   888K select 0:00 0.00% 0.00% alarmd
545 root      2   0  10292K  2268K select 0:00 0.00% 0.00% dcd
550 root      2 -12   1308K   692K select 0:00 0.00% 0.00% ntpd
  1 root     10   0    816K   520K wait   0:00 0.00% 0.00% init
750 root     32   0  21716K   828K RUN    0:00 0.00% 0.00% top
560 root      2   0   8208K  1088K select 0:00 0.00% 0.00% rmopd
561 root      2   0   8188K  1156K select 0:00 0.00% 0.00% cosd
559 root      2   0   1632K   840K select 0:00 0.00% 0.00% ilmid

What It Means

The sample output shows the central processing unit (CPU) utilization and lists the processes in order of CPU utilization.

Table 17 lists and describes the output fields included in the sample output for the show processes extensive command. The fields are listed in alphabetical order.


Table 17: Show System Processes Extensive Output Fields
Field
Description

COMMAND

Command that is running.

CPU

Raw (unweighted) CPU usage. The value of this field is used to sort the processes in the output.

last pid

Last process identifier assigned to the process.

load averages

Three load averages, followed by the current time.

Mem

Information about physical and virtual memory allocation.

NICE

UNIX "nice" value. The nice value allows a process to change it's final scheduling priority.

PID

Process identifier.

PRI

Current kernel scheduling priority of the process. A lower number indicates a higher priority.

processes

Number of existing processes and the number of processes in each state (sleeping, running, starting, zombies, and stopped).

RES

Current amount of resident memory, in KB.

SIZE

Total size of the process (text, data, and stack), in KB.

STATE

Current state of the process (sleep, wait, run, idle, zombi, or stop).

Swap

Information about physical and virtual memory allocation.

USERNAME

Owner of the process.

WCPU

Weighted CPU usage.


For more details, see Verify the Routing Engine CPU Memory, and the JUNOS Internet Software Protocols, Class of Service, Chassis, and Management Command Reference.


[Contents] [Prev] [Next] [Index] [Report an Error]