Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show system memory

Syntax

Syntax (EX Series Switches)

Syntax (MX Series Routers)

Syntax (QFX Series)

Syntax (Junos OS Evolved)

Description

Display system-wide memory distribution and usage including the Junos kernel, software processes, and memory disks. Use the show system memory command for troubleshooting with Juniper Networks Customer Support.

Options

none

Display the system memory distribution and usage information.

all-members

(EX4200 switches and MX Series routers only) (Optional) Display system memory distribution and usage information for all members of the Virtual Chassis configuration.

infrastructure name

(QFabric switches only) (Optional) Display system memory distribution and usage information for the fabric control Routing Engine and fabric manager Routing Engine.

interconnect-device name

(QFabric switches only) (Optional) Display system memory distribution and usage information for the Interconnect device.

local

(EX4200 switches and MX Series routers only) (Optional) Display system memory distribution and usage information for the local Virtual Chassis member.

member member-id

(EX4200 switches and MX Series routers only) (Optional) Display system memory distribution and usage 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.

node name (Junos OS Evolved) (Optional) Display system memory distribution and usage information for the specified node.
node-group name

(QFabric switches only) (Optional) Display system memory distribution and usage information for the Node group.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show system memory command. Output fields are listed in the approximate order in which they appear.

Table 1: show system memory Output Fields

Field Name

Field Description

System memory usage distribution

Amount of memory used by the system, represented in kilobytes and as a percentage of the total memory.

  • Total memory—Actual memory available to the system at the time of system initialization.

  • Reserved memory—Amount of total memory reserved for the system at the time of system initialization, but not managed by virtual memory sub-system.

  • Wired memory—Amount of total memory wired in the system that never paged out.

  • Active memory—Amount of total memory actively in use.

  • Inactive—Amount of total memory in use, but not referenced recently.

  • Cache—Amount of total memory almost available for allocation.

  • Free—Amount of total memory available for allocation.

Memory disk resident memory

Memory used by the memory disks, but not accounted for in the kernel map. For example, swap-based memory disk.

VM-Kbytes

Virtual memory used as per all virtual mappings in the kernel or process map and percentage thereof based on maximum addressable virtual memory as per any kernel, system, architecture, or resource limits.

Resident

Real memory used as per actual resident pages of all mappings in the kernel or process map and percentage thereof based on the total real memory available in the system.

Map-name

Name of the map.

PID

Process ID.

Process-name

Name of the process.

(MX Series routers only) When you display the memory usage for an MX Series Virtual Chassis, the show system memory command does not display information pertaining to the relayd (/usr/sbin/relayd) process.

Sample Output

show system memory

show system memory | display xml (QFX Series)

show system memory (Junos OS Evolved)

show system memory | display xml (Junos OS Evolved)

Release Information

Command introduced in Junos OS Release 12.1.