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

show system processes

Syntax

show system processes
<brief | detail | extensive | summary>
<wide>

Syntax (Routing Matrix)

show system processes
<brief | detail | extensive | summary>
<all-lcc | lcc number | scc>
<wide>

Release Information

Command introduced before JUNOS Release 7.4.

Description

Display information about software processes that are running on the router and that have controlling terminals.

Options

none — Display standard information about system processes.

all-lcc — (Routing matrix only) (Optional) Display standard system process information for all T640 routing nodes (or line-card chassis) connected to a TX Matrix platform.

brief | detail | extensive | summary — (Optional) Display the specified level of detail.

lcc number(Routing matrix only) (Optional) Display standard system process information for a specific T640 routing node that is connected to a TX Matrix platform. Replace number with a value from 0 through 3.

scc — (Routing matrix only) (Optional) Display standard system process information for the TX Matrix platform (or switch-card chassis).

wide — (Optional) Display process information that might be wider than 80 columns.

Additional Information

By default, when you issue the show system processes command on a TX Matrix master Routing Engine, the command is broadcast to all the T640 master Routing Engines connected to it. Likewise, if you issue the same command on the TX Matrix backup Routing Engine, the command is broadcast to all the T640 backup Routing Engines that are connected to it.

Required Privilege Level

view

List of Sample Output

show system processes
show system processes brief
show system processes detail
show system processes extensive
show system processes lcc wide (Routing Matrix)
show system processes summary

Output Fields

Table 125 describes the output fields for the show system processes command. Output fields are listed in the approximate order in which they appear.

Table 125: show system processes Output Fields

Field Name

Field Description

Level of Output

last PID

Last process identifier assigned to the process.

brief extensive summary

load averages

Three load averages followed by the current time.

brief extensive summary

processes

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

brief extensive summary

Mem

Information about physical and virtual memory allocation.

brief extensive summary

Swap

Information about physical and virtual memory allocation.

brief extensive summary

PID

Process identifier.

detail extensive summary

TT

Control terminal name.

none detail

STAT

Symbolic process state. The state is given by a sequence of letters. The first letter indicates the run state of the process:

  • D—In disk or other short-term, uninterruptible wait
  • I—Idle (sleeping longer than about 20 seconds)
  • R—Runnable
  • S—Sleeping for less than 20 seconds
  • T—Stopped
  • Z—Dead (zombie)
  • + —The process is in the foreground process group of its control terminal.
  • < —The process has raised CPU scheduling priority.
  • > —The process has specified a soft limit on memory requirements and is currently exceeding that limit; such a process is not swapped.
  • A—The process requested random page replacement.
  • E—The process is trying to exit.
  • L—The process has pages locked in core.
  • N—The process has reduced CPU scheduling priority.
  • S—The process requested first-in, first-out (FIFO) page replacement.
  • s—The process is a session leader.
  • V—The process is temporarily suspended.
  • W—The process is swapped out.
  • X—The process is being traced or debugged.

none detail

UID

User identifier.

detail

USERNAME

Process owner.

extensive summary

PPID

Parent process identifier.

detail

CPU

(D) — Short-term CPU usage. (E and S) — Raw (unweighted) CPU usage. The value of this field is used to sort the processes in the output.

detail extensive summary

RSS

Resident set size.

detail

WCHAN

Symbolic name of the wait channel.

detail

STARTED

Local time when the process started running.

detail

PRI

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

detail extensive summary

NI or NICE

UNIX "niceness" value. A lower number indicates a higher priority.

detail extensive summary

SIZE

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

extensive summary

RES

Current amount of resident memory, in kilobytes.

extensive summary

STATE

Current state of the process (for example, sleep, wait, run, idle, zombie, or stop).

extensive summary

TIME

(S) — Number of system and user CPU seconds that the process has used.(None, D, and E) — Total amount of time that the command has been running.

detail extensive summary

WCPU

Weighted CPU usage.

extensive summary

COMMAND

Command that is currently running.

detail extensive summary

show system processes

user@host> show system processes
PID  TT  STAT      TIME COMMAND
    0  ??  DLs    0:00.70  (swapper)
    1  ??  Is     0:00.35 /sbin/init --
    2  ??  DL     0:00.00  (pagedaemon)
    3  ??  DL     0:00.00  (vmdaemon)
    4  ??  DL     0:42.37  (update)
    5  ??  DL     0:00.00  (if_jnx)
   80  ??  Ss     0:14.66 syslogd -s
   96  ??  Is     0:00.01 portmap
  128  ??  Is     0:02.70 cron
  173  ??  Is     0:02.24 /usr/local/sbin/sshd (sshd1)
  189  ??  S      0:03.80 /sbin/watchdog -t180
  190  ??  I      0:00.03 /usr/sbin/tnetd -N
  191  ??  S      2:24.76 /sbin/ifd -N
  192  ??  S<     0:55.44 /usr/sbin/xntpd -N
  195  ??  S      0:53.11 /usr/sbin/snmpd -N
  196  ??  S      1:15.73 /usr/sbin/mib2d -N
  198  ??  I      0:00.75 /usr/sbin/inetd -N
 2677  ??  I      0:00.01 /usr/sbin/mgd -N
 2712  ??  Ss     0:00.24 rlogind
 2735  ??  R      0:00.00 /bin/ps -ax
 1985  p0- S      0:07.41 ./rpd -N
 2713  p0  Is     0:00.24 -tcsh (tcsh)
 2726  p0  S+     0:00.07 cli

show system processes brief

user@host> show system processes brief
last pid:   543;  load averages:  0.00,  0.00,  0.00    18:29:47
37 processes:  1 running, 36 sleeping

Mem: 25M Active, 3976K Inact, 19M Wired, 8346K Buf, 202M Free
Swap: 528M Total, 64K Used, 528M Free

show system processes detail

user@host> show system processes detail
PID   UID  PPID CPU PRI NI  RSS WCHAN  STARTED   TT  STAT      TIME COMMAND
 3151  1049  3129   2  28  0  672 -       1:13PM   p0  R+     0:00.00 ps -ax -r
    1     0     0   0  10  0  376 wait    1:51PM   ??  Is     0:00.29 /sbin/ini
    2     0     0   0 -18  0   12 psleep  1:51PM   ??  DL     0:00.00  (pagedae
    3     0     0   0  28  0   12 psleep  1:51PM   ??  DL     0:00.00  (vmdaemo
    4     0     0   0  28  0   12 update  1:51PM   ??  DL     0:07.15  (update)
    5     0     0   0   2  0   12 pfesel  1:51PM   ??  IL     0:02.90  (if_pfe)
   27     0     1   0  10  0 17936 mfsidl  1:51PM  ??  Is     0:00.46 mfs /dev/
   81     0     1   0   2  0  496 select  1:52PM   ??  Ss     0:31.21 syslogd -
  119     1     1   0   2  0  492 select  1:52PM   ??  Is     0:00.00 portmap
  134     0     1   0   2  0  580 select  1:52PM   ??  S      0:02.95 amd -p -a
  151     0     1   0  18  0  532 pause   1:52PM   ??  Is     0:00.34 cron
  183     0     1   0   2  0  420 select  1:52PM   ??  Ss     0:00.07 /usr/loca
  206     0     1   0  18  0   72 pause   1:52PM   ??  S      0:00.51 /sbin/wat
  207     0     1   0   2  0  520 select  1:52PM   ??  I      0:00.16 /usr/sbin
  208     0     1   0   2  0  536 select  1:52PM   ??  S      0:08.21 /sbin/dcd
  210     0     1 255   2 -12  740 select  1:52PM  ??  S<     0:05.83 /usr/sbin
  211     0     1   0   2  0  376 select  1:52PM   ??  S      0:00.03 /usr/sbin
  215     0     1   0   2  0  548 select  1:52PM   ??  I      0:00.50 /usr/sbin
  219     0     1   0   3  0  540 ttyin   1:52PM   v0  Is+    0:00.02 /usr/libe
  220     0     1   0   3  0  540 ttyin   1:52PM   v1  Is+    0:00.01 /usr/libe
  221     0     1   0   3  0  540 ttyin   1:52PM   v2  Is+    0:00.01 /usr/libe
  222     0     1   0   3  0  540 ttyin   1:52PM   v3  Is+    0:00.01 /usr/libe
  735     0     1   0   2  0  468 select  2:47PM   ??  S      0:19.14 /usr/sbin
  736     0     1   0   2  0  212 select  2:47PM   ??  S      0:14.13 /usr/sbin
 1380     0     1   0   3  0  888 ttyin   7:32PM   d0  Is+    0:00.46 bash
 3019     0   207   0   2  0  636 select 10:49AM   ??  Ss     0:02.93 tnp.chass
 3122     0  1380   0   2  0 1764 select 12:33PM   d0  S      0:00.77 ./rpd -N
 3128     0   215   0   2  0  580 select 12:45PM   ??  Ss     0:00.12 rlogind
 3129  1049  3128   0  18  0  944 pause  12:45PM   p0  Ss     0:00.14 -tcsh (tc
    0     0     0   0 -18  0    0 sched   1:51PM   ??  DLs    0:00.10  (swapper

show system processes extensive

user@host> show system processes extensive
last pid:   544;  load averages:  0.00,  0.00,  0.00    18:30:33
37 processes:  1 running, 36 sleeping

Mem: 25M Active, 3968K Inact, 19M Wired, 8346K Buf, 202M Free
Swap: 528M Total, 64K Used, 528M Free
  PID USERNAME PRI NICE SIZE    RES STATE    TIME   WCPU    CPU COMMAND
  544 root     30   0   604K   768K RUN      0:00  0.00%  0.00% top
    3 root     28   0     0K    12K psleep   0:00  0.00%  0.00% vmdaemon
    4 root     28   0     0K    12K update   0:03  0.00%  0.00% update
  528 aviva    18   0   660K   948K pause    0:00  0.00%  0.00% tcsh
  204 root     18   0   300K   544K pause    0:00  0.00%  0.00% csh
  131 root     18   0   332K   532K pause    0:00  0.00%  0.00% cron
  186 root     18   0   196K    68K pause    0:00  0.00%  0.00% watchdog
   27 root     10   0   512M 16288K mfsidl   0:00  0.00%  0.00% mount_mfs
    1 root     10   0   620K   344K wait     0:00  0.00%  0.00% init
  304 root      3   0   884K   900K ttyin    0:00  0.00%  0.00% bash
  200 root      3   0   180K   540K ttyin    0:00  0.00%  0.00% getty
  203 root      3   0   180K   540K ttyin    0:00  0.00%  0.00% getty
  202 root      3   0   180K   540K ttyin    0:00  0.00%  0.00% getty
  201 root      3   0   180K   540K ttyin    0:00  0.00%  0.00% getty
  194 root      2   0  2248K  1640K select   0:11  0.00%  0.00% rpd
  205 root      2   0   964K   800K select   0:12  0.00%  0.00% tnp.chassisd
  189 root      2 -12   352K   740K select   0:03  0.00%  0.00% xntpd
  114 root      2   0   296K   612K select   0:00  0.00%  0.00% amd
  188 root      2   0   780K   600K select   0:00  0.00%  0.00% dcd
  527 root      2   0   176K   580K select   0:00  0.00%  0.00% rlogind
  195 root      2   0   212K   552K select   0:00  0.00%  0.00% inetd
  187 root      2   0   192K   532K select   0:00  0.00%  0.00% tnetd
   83 root      2   0   188K   520K select   0:00  0.00%  0.00% syslogd
  538 root      2   0  1324K   516K select   0:00  0.00%  0.00% mgd
   99 daemon    2   0   176K   492K select   0:00  0.00%  0.00% portmap
  163 root      2   0   572K   420K select   0:00  0.00%  0.00% nsrexecd
  192 root      2   0   560K   400K select   0:10  0.00%  0.00% snmpd
  191 root      2   0  1284K   376K select   0:00  0.00%  0.00% mgd
  537 aviva     2   0   636K   364K select   0:00  0.00%  0.00% cli
  193 root      2   0   312K   204K select   0:07  0.00%  0.00% mib2d
    5 root      2   0     0K    12K pfesel   0:00  0.00%  0.00% if_pfe
    2 root    -18   0     0K    12K psleep   0:00  0.00%  0.00% pagedaemon
    0 root    -18   0     0K     0K sched    0:00  0.00%  0.00% swapper

show system processes lcc wide (Routing Matrix)

user@host> show system processes lcc 2 wide
lcc2-re0:
--------------------------------------------------------------------------
  PID  TT  STAT      TIME COMMAND
    0  ??  DLs    0:00.00  (swapper)
    1  ??  ILs    0:00.10 /sbin/preinit -- (init)
    2  ??  DL     0:00.00  (pagedaemon)
    3  ??  DL     0:00.00  (vmdaemon)
    4  ??  DL     0:00.00  (bufdaemon)
    5  ??  DL     0:00.04  (syncer)
    6  ??  DL     0:00.00  (netdaemon)
    7  ??  IL     0:00.00  (if_pic_listen)
    8  ??  IL     0:00.00  (scs_housekeeping)
    9  ??  IL     0:00.00  (if_pfe_listen)
   10  ??  DL     0:00.00  (vmuncachedaemon)
   11  ??  SL     0:00.02  (cb_poll)
  172  ??  ILs    0:00.21 mfs -o noauto /dev/ad1s1b /tmp (newfs)
 2909  ??  Is     0:00.00 pccardd
 2932  ??  Ss     0:00.07 syslogd -r -s
 3039  ??  Is     0:00.00 cron
 3217  ??  I      0:00.00 /sbin/watchdog -d
 3218  ??  I      0:00.02 /usr/sbin/tnetd -N
 3221  ??  S      0:00.11 /usr/sbin/alarmd -N
 3222  ??  S      0:00.85 /usr/sbin/craftd -N
 3223  ??  S      0:00.05 /usr/sbin/mgd -N
 3224  ??  I      0:00.02 /usr/sbin/inetd -N
 3225  ??  I      0:00.00 /usr/sbin/tnp.sntpd -N
 3226  ??  I      0:00.01 /usr/sbin/tnp.sntpc -N
 3228  ??  I      0:00.01 /usr/sbin/smartd -N
 3231  ??  I      0:00.01 /usr/sbin/eccd -N
 3425  ??  S      0:00.09 /usr/sbin/dfwd -N
 3426  ??  S      0:00.19 /sbin/dcd -N
 3427  ??  I      0:00.04 /usr/sbin/pfed -N
 3430  ??  S      0:00.10 /usr/sbin/ksyncd -N
 3482  ??  S      1:53.63 /usr/sbin/chassisd -N
 4285  ??  SL     0:00.01  (peer proxy)
 4286  ??  SL     0:00.00  (peer proxy)
 4303  ??  Ss     0:00.00 mgd: (mgd) (root) (mgd)
 4304  ??  R      0:00.00 /bin/ps -ax -ww
 3270  d0  Is+    0:00.00 /usr/libexec/getty std.9600 ttyd0

show system processes summary

user@host> show system processes summary
last pid:   543;  load averages:  0.00,  0.00,  0.00    18:29:47
37 processes:  1 running, 36 sleeping

Mem: 25M Active, 3976K Inact, 19M Wired, 8346K Buf, 202M Free
Swap: 528M Total, 64K Used, 528M Free

  PID USERNAME PRI NICE SIZE    RES STATE    TIME   WCPU    CPU COMMAND
  527 root      2   0   176K   580K select   0:00  0.04%  0.04% rlogind
  543 root     30   0   604K   768K RUN      0:00  0.00%  0.00% top

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