Difference between revisions of "/proc/meminfo"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Draft}}
 
{{Draft}}
  
<pre>
+
 
cat /proc/meminfo  
+
cat /proc/meminfo  
MemTotal:        3773416 kB
+
MemTotal:        3773416 kB
MemFree:          292132 kB
+
MemFree:          292132 kB
MemAvailable:    1111600 kB
+
MemAvailable:    1111600 kB
Buffers:          73996 kB
+
[[Buffers]]:          73996 kB
Cached:          971016 kB
+
Cached:          971016 kB
SwapCached:        22544 kB
+
SwapCached:        22544 kB
Active:          1568380 kB
+
Active:          1568380 kB
Inactive:        1583052 kB
+
Inactive:        1583052 kB
Active(anon):    1066644 kB
+
Active(anon):    1066644 kB
Inactive(anon):  1112896 kB
+
Inactive(anon):  1112896 kB
Active(file):    501736 kB
+
Active(file):    501736 kB
Inactive(file):  470156 kB
+
Inactive(file):  470156 kB
Unevictable:          48 kB
+
Unevictable:          48 kB
Mlocked:              48 kB
+
Mlocked:              48 kB
SwapTotal:      2097148 kB
+
SwapTotal:      2097148 kB
SwapFree:        1903868 kB
+
SwapFree:        1903868 kB
Dirty:              2420 kB
+
Dirty:              2420 kB
Writeback:            0 kB
+
[[Writeback]]:            0 kB
AnonPages:      2099612 kB
+
AnonPages:      2099612 kB
Mapped:          379540 kB
+
Mapped:          379540 kB
Shmem:            74028 kB
+
Shmem:            74028 kB
KReclaimable:    103012 kB
+
KReclaimable:    103012 kB
Slab:            207848 kB
+
Slab:            207848 kB
SReclaimable:    103012 kB
+
SReclaimable:    103012 kB
SUnreclaim:      104836 kB
+
SUnreclaim:      104836 kB
KernelStack:      10704 kB
+
KernelStack:      10704 kB
PageTables:        23912 kB
+
PageTables:        23912 kB
NFS_Unstable:          0 kB
+
NFS_Unstable:          0 kB
Bounce:                0 kB
+
Bounce:                0 kB
WritebackTmp:          0 kB
+
WritebackTmp:          0 kB
CommitLimit:    3983856 kB
+
CommitLimit:    3983856 kB
Committed_AS:    6365216 kB
+
Committed_AS:    6365216 kB
VmallocTotal:  34359738367 kB
+
VmallocTotal:  34359738367 kB
VmallocUsed:          0 kB
+
VmallocUsed:          0 kB
VmallocChunk:          0 kB
+
VmallocChunk:          0 kB
Percpu:            1728 kB
+
Percpu:            1728 kB
HardwareCorrupted:    0 kB
+
HardwareCorrupted:    0 kB
AnonHugePages:        0 kB
+
AnonHugePages:        0 kB
ShmemHugePages:        0 kB
+
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
+
ShmemPmdMapped:        0 kB
CmaTotal:              0 kB
+
CmaTotal:              0 kB
CmaFree:              0 kB
+
CmaFree:              0 kB
HugePages_Total:      0
+
HugePages_Total:      0
HugePages_Free:        0
+
HugePages_Free:        0
HugePages_Rsvd:        0
+
HugePages_Rsvd:        0
HugePages_Surp:        0
+
HugePages_Surp:        0
Hugepagesize:      2048 kB
+
Hugepagesize:      2048 kB
Hugetlb:              0 kB
+
Hugetlb:              0 kB
DirectMap4k:      276968 kB
+
DirectMap4k:      276968 kB
DirectMap2M:    3651584 kB
+
DirectMap2M:    3651584 kB
</pre>
 
  
 
== Related commands ==
 
== Related commands ==
Line 60: Line 59:
 
* <code>[[sar -r]]</code>
 
* <code>[[sar -r]]</code>
 
* <code>[[stress-ng]]</code>
 
* <code>[[stress-ng]]</code>
 +
* <code>[[lsmem]]</code>
 +
* <code>[[/sys/kernel/mm/]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 13:45, 16 March 2023

This article is a Draft. Help us to complete it.


cat /proc/meminfo 
MemTotal:        3773416 kB
MemFree:          292132 kB
MemAvailable:    1111600 kB
Buffers:           73996 kB
Cached:           971016 kB
SwapCached:        22544 kB
Active:          1568380 kB
Inactive:        1583052 kB
Active(anon):    1066644 kB
Inactive(anon):  1112896 kB
Active(file):     501736 kB
Inactive(file):   470156 kB
Unevictable:          48 kB
Mlocked:              48 kB
SwapTotal:       2097148 kB
SwapFree:        1903868 kB
Dirty:              2420 kB
Writeback:             0 kB
AnonPages:       2099612 kB
Mapped:           379540 kB
Shmem:             74028 kB
KReclaimable:     103012 kB
Slab:             207848 kB
SReclaimable:     103012 kB
SUnreclaim:       104836 kB
KernelStack:       10704 kB
PageTables:        23912 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     3983856 kB
Committed_AS:    6365216 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
Percpu:             1728 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
CmaTotal:              0 kB
CmaFree:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB
DirectMap4k:      276968 kB
DirectMap2M:     3651584 kB

Related commands[edit]

See also[edit]

Advertising: