home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

show system memory

Displays system memory usage.

show system memory [ cache | detail ]
cache
Displays memory cache details.
detail
Displays memory usage details.

Operational mode

Use this command to see how much memory is currently being used by the system and how much is free.

The following example shows information about memory usage on R1.


vyatta@R1:~$ show system memory
total       used       free     shared    buffers     cached
Mem:        242836     170796      72040          0      58844      81748
Swap:            0          0          0
Total:      242836     170796      72040
vyatta@R1:~$

                

The following example shows detailed information about memory usage on R1.


vyatta@R1:~$ show system memory detail
MemTotal:         242836 kB
MemFree:           72040 kB
Buffers:           58844 kB
Cached:            81760 kB
SwapCached:            0 kB
Active:            75496 kB
Inactive:          79252 kB
Active(anon):      14344 kB
Inactive(anon):      264 kB
Active(file):      61152 kB
Inactive(file):    78988 kB
Unevictable:           0 kB
Mlocked:               0 kB
HighTotal:             0 kB
HighFree:              0 kB
LowTotal:         242836 kB
LowFree:           72040 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:         14172 kB
Mapped:             7464 kB
:

The following example shows information about memory cache usage on R1.


vyatta@R1:~$ show system memory cache
 Active / Total Objects (% used)    : 99681 / 100958 (98.7%)
 Active / Total Slabs (% used)      : 2690 / 2690 (100.0%)
 Active / Total Caches (% used)     : 61 / 72 (84.7%)
 Active / Total Size (% used)       : 12081.72K / 12346.32K (97.9%)
 Minimum / Average / Maximum Object : 0.01K / 0.12K / 8.00K

  OBJS ACTIVE  USE OBJ SIZE  SLABS OBJ/SLAB CACHE SIZE NAME
 30806  30806 100%    0.05K    422       73      1688K buffer_head
 19200  19178  99%    0.13K    640       30      2560K dentry
  9010   8954  99%    0.05K    106       85       424K sysfs_dir_cache
  7168   7054  98%    0.01K     14      512        56K kmalloc-8
  4864   4853  99%    0.02K     19      256        76K kmalloc-16
  2816   2693  95%    0.03K     22      128        88K kmalloc-32
  2640   2640 100%    0.38K    264       10      1056K unionfs_inode_cache
  2380   2213  92%    0.02K     14      170        56K anon_vma_chain
  2322   2322 100%    0.44K    258        9      1032K squashfs_inode_cache
  2255   2248  99%    0.34K    205       11       820K inode_cache
  2210   2199  99%    0.05K     26       85       104K ext3_xattr
  1886   1884  99%    0.09K     41       46       164K vm_area_struct
  1664   1512  90%    0.12K     52       32       208K kmalloc-128
  1536   1470  95%    0.06K     24       64        96K kmalloc-64
  1536   1433  93%    0.02K      6      256        24K anon_vma
  1313   1308  99%    0.29K    101       13       404K radix_tree_node
: