Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show system memory

 

List of Syntax

Syntax

Syntax (EX Series Switches)

Syntax (MX Series Routers)

Syntax (TX Matrix Routers)

Syntax (TX Matrix Plus Routers)

Syntax (QFX Series)

Syntax

Syntax (EX Series Switches)

Syntax (MX Series Routers)

Syntax (TX Matrix Routers)

Syntax (TX Matrix Plus Routers)

Syntax (QFX Series)

Release Information

Command introduced in Junos OS Release 12.1.

Description

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

Options

noneDisplay the Junos OS system memory distribution and usage information.
all-chassis(TX Matrix and TX Matrix Plus routers only) (Optional) Display system memory distribution and usage information for all chassis.
all-lcc(TX Matrix and TX Matrix Plus routers only) (Optional) On a TX Matrix router, display system memory distribution and usage information for all T640 routers (or line-card chassis) connected to the TX Matrix router. On a TX Matrix Plus router, display the system memory distribution and usage information for all T1600 routers (or line-card chassis) connected to the TX Matrix Plus router.
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.
lcc number(TX Matrix and TX Matrix Plus routers only) (Optional) On a TX Matrix router, display system memory distribution and usage information for a specific T640 router that is connected to the TX Matrix router. On a TX Matrix Plus router, display system memory distribution and usage information for a specific T1600 router that is connected to the TX Matrix Plus router. Replace number with a value from 0 through 3.
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-group name(QFabric switches only) (Optional) Display system memory distribution and usage information for the Node group.
scc(TX Matrix routers only) (Optional) Display system memory distribution and usage information for the TX Matrix router (or switch-card chassis).
sfc number(TX Matrix Plus routers only) (Optional) Display system memory distribution and usage information for the TX Matrix Plus router (or switch-fabric chassis). Replace number with 0.

Additional Information

By default, when you issue the show system memory command on a TX Matrix or TX Matrix Plus master Routing Engine, the command is broadcast to all the T640 (in a routing matrix based on a TX Matrix router) or T1600 (in a routing matrix based on a TX Matrix Plus router) master Routing Engines connected to it. Likewise, if you issue the same command on the TX Matrix or TX Matrix Plus backup Routing Engine, the command is broadcast to all the T640 (in a routing matrix based on a TX Matrix router) or T1600 (in a routing matrix based on a TX Matrix Plus router) backup Routing Engines that are connected to it.

Required Privilege Level

view

List of Sample Output

show system memory

show system memory scc (TX Matrix Routers)

show system memory sfc (TX Matrix Plus Routers)

show system memory | display xml

show system memory | display xml (QFX Series)

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

user@host> show system memory

show system memory scc (TX Matrix Routers)

user@host> show system memory scc

show system memory sfc (TX Matrix Plus Routers)

user@host> show system-memory sfc 0

show system memory | display xml

user@host> show system-memory | display xml

show system memory | display xml (QFX Series)

user@switch> show system-memory | display xml