Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show system processes

Syntax

Syntax (EX Series Switches and MX Series Routers)

Syntax (QFX Series Switches)

Syntax (OCX Series)

Syntax (TX Matrix Routers)

Syntax (TX Matrix Plus Router)

Syntax (Junos OS Evolved)

Description

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

Options

none

Display standard information about system processes.

brief | detail | extensive | summary

(Optional) Display the specified level of detail.

adaptive-services

(Optional) Display the configuration management process that manages the configuration for stateful firewall, Network Address Translation (NAT), intrusion detection services (IDS), and IP Security (IPsec) services on the Adaptive Services PIC.

alarm-control

(Optional) Display the process to configure the system alarm.

all-chassis

(TX Matrix routers and TX Matrix Plus routers only) (Optional) Display standard system process information about all the T640 routers (in a routing matrix based on the TX Matrix router) or all the T1600 or T4000 routers (in a routing matrix based on the TX Matrix Plus router) in the chassis.

all-lcc

(TX Matrix routers and TX Matrix Plus router only) (Optional) Display standard system process information for all T640 routers (or line-card chassis) connected to the TX Matrix router. Display standard system process information for all connected T1600 or T4000 LCCs.

all-members

(EX4200 switches, QFX Series Virtual Chassis, and MX Series routers ) (Optional) Display standard system process information for all members of the Virtual Chassis configuration.

ancpd-service

Display the Access Node Control Protocol (ANCP) process, which works with a special Internet Group Management Protocol (IGMP) session to collect outgoing interface mapping events in a scalable manner.

application-identification

Display the process that identifies an application using intrusion detection and prevention (IDP) to allow or deny traffic based on applications running on standard or nonstandard ports.

audit-process

(Optional) Display the RADIUS accounting process.

auto-configuration

Display the Interface Auto-Configuration process.

bootp

Display the process that enables a router, switch, or interface to act as a Dynamic Host Configuration Protocol (DHCP) or bootstrap protocol (BOOTP) relay agent. DHCP relaying is disabled.

captive-portal-content-delivery

Display the HTTP redirect service by specifying the location to which a subscriber's initial Web browser session is redirected, enabling initial provisioning and service selection for the subscriber.

ce-l2tp-service

(Optional) (M10, M10i, M7i, and MX Series routers only) Display the Universal Edge Layer 2 Tunneling Protocol (L2TP) process, which establishes L2TP tunnels and Point-to-Point Protocol (PPP) sessions through L2TP tunnels.

cfm

Display Ethernet Operations, Administration, and Maintenance (OAM) connectivity fault management (CFM) process, which can be used to monitor the physical link between two switches.

chassis-control

(Optional) Display the chassis management process.

class-of-service

(Optional) Display the class-of-service (CoS) process, which controls the router's or switch’s CoS configuration.

clksyncd-service

Display the external clock synchronization process, which uses synchronous Ethernet (SyncE).

craft-control

Display the process for the I/O of the craft interface.

database-replication

(EX Series switches and MX Series routers only) (Optional) Display the database replication process.

datapath-trace-service

Display the packet path tracing process.

dhcp-service

(EX Series switches and MX Series routers only) (Optional) Display the Dynamic Host Configuration Protocol process, which enables a DHCP server to allocate network IP addresses and deliver configuration settings to client hosts without user intervention.

diameter-service

(Optional) Display the diameter process.

disk-monitoring

(Optional) Display the disk monitoring process, which checks the health of the hard disk drive on the Routing Engine.

dynamic-flow-capture

(Optional) Display the dynamic flow capture (DFC) process, which controls DFC configurations on Monitoring Services III PICs.

ecc-error-logging

(Optional) Display the error checking and correction (ECC) process, which logs ECC parity errors in memory on the Routing Engine.

ethernet-connectivity-fault-management

Display the process that provides IEEE 802.1ag OAM connectivity fault management (CFM) database information for CFM maintenance association end points (MEPs) in a CFM session.

ethernet-link-fault-management

(EX Series switches and MX Series routers only) (Optional) Display the process that provides the OAM link fault management (LFM) information for Ethernet interfaces.

event-processing

(Optional) Display the event process (eventd).

firewall

(Optional) Display the firewall management process, which manages the firewall configuration and enables accepting or rejecting packets that are transiting an interface on a router or switch.

general-authentication-service

(EX Series switches and MX Series routers only) (Optional) Display the general authentication process.

health (pid process-identifer | process-name process-name)

(Optional) Display process health information, either by process id (PID) or by process name.

host-processes

Display process information of processes running on the host system.

(On OCX Series only) The following options are available:

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

iccp-service

Display the Inter-Chassis Communication Protocol (ICCP) process.

idp-policy

Display the intrusion detection and prevention (IDP) protocol process.

ilmi

Display the Integrated Local Management Interface (ILMI) protocol process, which provides bidirectional exchange of management information between two ATM interfaces across a physical connection.

inet-process

Display the IP multicast family process.

init

Display the process that initializes the USB modem.

interface-control

(Optional) Display the interface process, which controls the router's or switch’s physical interface devices and logical interfaces.

kernel-replication

(Optional) Display the kernel replication process, which replicates the state of the backup Routing Engine when graceful Routing Engine switchover (GRES) is configured.

l2-learning

(Optional) Display the Layer 2 address flooding and learning process.

l2cpd-service

Display the Layer 2 Control Protocol process, which enables features such as Layer 2 protocol tunneling and nonstop bridging.

lacp

(Optional) Display the Link Aggregation Control Protocol (LACP)process. LACP provides a standardized means for exchanging information between partner systems on a link to allow their link aggregation control instances to reach agreement on the identity of the LAG to which the link belongs, and then to move the link to that LAG, and to enable the transmission and reception processes for the link to function in an orderly manner.

lcc number

(TX Matrix routers and TX Matrix Plus routers only) (Optional) On a TX Matrix router, display standard system process information for a specific T640 router that is connected to the TX Matrix router. On a TX Matrix Plus router, display standard system process information for a specific router that is connected to the TX Matrix Plus router.

Replace number with the following values depending on the LCC configuration:

  • 0 through 3, when T640 routers are connected to a TX Matrix router in a routing matrix.

  • 0 through 3, when T1600 routers are connected to a TX Matrix Plus router in a routing matrix.

  • 0 through 7, when T1600 routers are connected to a TX Matrix Plus router with 3D SIBs in a routing matrix.

  • 0, 2, 4, or 6, when T4000 routers are connected to a TX Matrix Plus router with 3D SIBs in a routing matrix.

local

(EX4200 switches, QFX Series Virtual Chassis, and MX Series routers) (Optional) Display standard system process information for the local Virtual Chassis member.

local-policy-decision-function

Display the process for the Local Policy Decision Function, which regulates collection of statistics related to applications and application groups and tracking of information about dynamic subscribers and static interfaces.

logical-system-mux

Display the logical router multiplexer process (lrmuxd), which manages the multiple instances of the routing protocols process (rpd) on a machine running logical routers.

mac-validation

Display the MAC validation process, which configures MAC address validation for subscriber interfaces created on demux interfaces in dynamic profiles on MX Series routers.

member member-id

(EX4200 switches, QFX Series Virtual Chassis, and MX Series routers) (Optional) Display standard system process information for the specified member of the Virtual Chassis configuration. For EX4200 switches, replace member-id with a value from 0 through 9. For an MX Series Virtual Chassis, replace member-id with a value of 0 or 1.

mib-process

(Optional) Display the MIB II process, which provides the router's MIB II agent.

mobile-ip

(Optional) Display the Mobile IP process, which configures Junos OS Mobile IP features.

mountd-service

(EX Series switches and MX Series routers only) (Optional) Display the service for NFS mounts requests.

mpls-traceroute

(Optional) Display the MPLS Periodic Traceroute process.

mspd

(Optional) Display the Multiservice process.

multicast-snooping

(EX Series switches and MX Series routers only) (Optional) Display the multicast snooping process, which makes Layer 2 devices such as VLAN switches aware of Layer 3 information, such as the media access control (MAC) addresses of members of a multicast group.

named-service

(Optional) Display the DNS Server process, which is used by a router or a switch to resolve hostnames into addresses.

neighbor-liveness

Display the process, which specifies the maximum length of time that the router waits for its neighbor to re-establish an LDP session.

nfsd-service

(Optional) Display the Remote NFS Server process, which provides remote file access for applications that need NFS-based transport.

ntp

Display the Network Time Protocol (NTP) process, which provides the mechanisms to synchronize time and coordinate time distribution in a large, diverse network.

packet-triggered-subscribers

Display the packet-triggered subcribers and policy control (PTSP) process, which allows the application of policies to dynamic subscribers that are controlled by a subscriber termination device.

peer-selection-service

(Optional) Display the Peer Selection Service process.

periodic-packet-services

Display the Periodic packet management process, which is responsible for processing a variety of time-sensitive periodic tasks so that other processes can more optimally direct their resources.

pfe

Display the Packet Forwarding Engine management process.

pgcp-service

(Optional) Display the pgcpd service process running on the Routing Engine.

pgm

Display the Pragmatic General Multicast (PGM) protocol process, which enables a reliable transport layer for multicast applications.

pic-services-logging

(Optional) Display the logging process for some PICs. With this process, also known as fsad (the file system access daemon), PICs send special logging information to the Routing Engine for archiving on the hard disk.

ppp

(Optional) Display the Point-to-Point Protocol (PPP) process, which is the encapsulation protocol process for transporting IP traffic across point-to-point links.

ppp-service

Display the Universal edge PPP process, which is the encapsulation protocol process for transporting IP traffic across universal edge routers.

pppoe

(Optional) Display the Point-to-Point Protocol over Ethernet (PPPoE) process, which combines PPP that typically runs over broadband connections with the Ethernet link-layer protocol that allows users to connect to a network of hosts over a bridge or access concentrator.

process-monitor

Display the process health monitor process (pmond).

providers

(Optional) Display provider processes.

redundancy-interface-process

(Optional) Display the ASP redundancy process.

remote-operations

(Optional) Display the remote operations process, which provides the ping and traceroute MIBs.

resource-cleanup

Display the resource cleanup process.

resource-limits (brief | detail) process-name

(Optional) Display process resource limits.

routing

(Optional) Display the routing protocol process.

sampling

(Optional) Display the sampling process, which performs packet sampling based on particular input interfaces and various fields in the packet header.

sbc-configuration-process

Display the session border controller (SBC) process of the border signaling gateway (BSG).

scc

(TX Matrix routers only) (Optional) Display standard system process information for the TX Matrix router (or switch-card chassis).

sdk-service

Display the SDK Service process, which runs on the Routing Engine and is responsible for communications between the SDK application and Junos OS. Although the SDK Service process is present on the router, it is turned off by default.

secure-neighbor-discovery

(EX Series switches and MX Series routers only) (Optional) Display the secure Neighbor Discovery Protocol (NDP) process, which provides support for protecting NDP messages.

send

(Optional) Display the Secure Neighbor Discovery Protocol (SEND) process, which provides support for protecting Neighbor Discovery Protocol (NDP) messages.

service-deployment

(Optional) Display the service deployment process, which enables Junos OS to work with the Session and Resource Control (SRC) software.

sfc number

(TX Matrix Plus routers only) (Optional) Display system process information for the TX Matrix Plus router. Replace number with 0.

snmp

Display the SNMP process, which enables the monitoring of network devices from a central location and provides the router's or switch’s SNMP primary agent.

sonet-aps

Display the SONET Automatic Protection Switching (APS) process, which monitors any SONET interface that participates in APS.

static-subscribers

(Optional) Display the Static subscribers process, which associates subscribers with statically configured interfaces and provides dynamic service activation and activation for these subscribers.

tunnel-oamd

(Optional) Display the Tunnel OAM process, which enables the Operations, Administration, and Maintenance of Layer 2 tunneled networks. Layer 2 protocol tunneling (L2PT) allows service providers to send Layer 2 protocol data units (PDUs) across the provider’s cloud and deliver them to Juniper Networks EX Series Ethernet Switches that are not part of the local broadcast domain.

vrrp

(EX Series switches and MX Series routers only) (Optional) Display the Virtual Router Redundancy Protocol (VRRP) process, which enables hosts on a LAN to make use of redundant routing platforms on that LAN without requiring more than the static configuration of a single default route on the hosts.

watchdog

Display the watchdog timer process, which enables the watchdog timer when Junos OS encounters a problem.

wide

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

node node-name

Specify a name if you want to view the system process details for that node. Example: re0.

Additional Information

By default, when you issue the show system processes command on the primary Routing Engine of a TX Matrix router or a TX Matrix Plus router, the command is broadcast to all the primary Routing Engines of the LCCs connected to it in the routing matrix. Likewise, if you issue the same command on the backup Routing Engine of a TX Matrix or a TX Matrix Plus router, the command is broadcast to all backup Routing Engines of the LCCs that are connected to it in the routing matrix.

Required Privilege Level

view

Output Fields

The following table describes the output fields for the show system processes command. Output fields are listed in the approximate order in which they appear.

Table 1: 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

CPU

(For systems running Junos OS with upgraded FreeBSD only) Breakdown of the percent usage on a per-CPU basis into the following categories: % user, % nice, % system, % interrupt, % idle.

Note:

This field shows up in the second frame of output.

To see which platforms run Junos OS with upgraded FreeBSD, see Release Information for Junos OS with Upgraded FreeBSD.

Note:

On ACX Series routers running Junos OS Evolved, the show system process command might report CPU utilization spikes greater than 100%. This kind of CPU utilization is normal behavior, and no user action is required. The CPU utilization spikes represent the sum of individual processor threads and not of the entire system CPU capacity.

extensive

Mem

Information about physical and virtual memory allocation.

brief extensive summary

Active

Memory allocated and actively used by the program.

When the system is under memory pressure, the pageout process reuses memory from the free, cache, inact and, if necessary, active pages. When the pageout process runs, it scans memory to see which pages are good candidates to be unmapped and freed up. Thus, the distinction between Active and Inact memory is only used by the pageout process to determine which pool of pages to free first at the time of a memory shortage.

The pageout process first scans the Inact list, and checks whether the pages on this list have been accessed since the time they have been listed here. The pages that have been accessed are moved from the Inact list to the Active list. On the other hand, pages that have not been accessed become prime candidates to be freed by the pageout process. If the pageout process cannot produce enough free pages from the Inact list, pages from the Active list get freed up.

Because the pageout process runs only when the system is under memory pressure, the pages on the Inact list remain untouched – even if they have not been accessed recently – when the amount of Free memory is adequate.

brief extensive summary

Inact

Memory allocated but not recently used or memory freed by the programs. Inactive memory remains mapped in the address space of one or more processes and, therefore, counts toward the RSS value of those processes.

Any amount of memory freed by the routing protocol process might still be considered part of the RES value. Generally, the kernel delays the migrating of memory out of the Inact queue into the Cache or Free list unless there is a memory shortage.

brief extensive summary

Wired

Memory that is not eligible to be swapped, usually used for in-kernel memory structures and/or memory physically locked by a process.

brief extensive summary

Cache

Memory that is not associated with any program and does not need to be swapped before being reused.

brief extensive summary

Buf

Size of memory buffer used to hold data recently called from the disk.

brief extensive summary

Free

Memory that is not associated with any programs. Memory freed by a process can become Inactive, Cache, or Free, depending on the method used by the process to free the memory.

brief extensive summary

Swap

Information about physical and virtual memory allocation.

Note:

Memory can remain swapped out indefinitely if it is not accessed again. Therefore, the show system process extensive command shows that memory is swapped to disk even though there is plenty of free memory, and such a situation is not unusual.

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 program resident memory, in kilobytes.

This is also known as RSS or Resident Set Size. The RES value includes shared library pages used by the process. Any amount of memory freed by the process might still be considered part of the RES value. Generally, the kernel delays the migrating of memory out of the Inact queue into the Cache or Free list unless there is a memory shortage. This can lead to large discrepancies between the values reported by the routing protocol process and the kernel, even after the routing protocol process has freed a large amount of memory.

extensive summary

STATE

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

extensive summary

C

CPU number.

Note:

There is no such column in output from Junos OS Evolved. To see the CPU number, issue the show system processes wide | detail command and look at the PSR column.

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.

(MX Series routers only) When you display the software processes for an MX Series Virtual Chassis, the show system processes command does not display information about the relayd process.

detail extensive summary

THR

Number of threads in the process

extensive

Sample Output

show system processes

show system processes brief

show system processes detail

show system processes extensive

Release Information

Command introduced before Junos OS Release 7.4.

Option sfc introduced for the TX Matrix Plus router in Junos OS Release 9.6.

Enhanced output regarding per CPU usage introduced in Junos OS Release 16.1R3 for Junos OS with upgraded FreeBSD.