Linux 查看内存信息

Linux About 1,304 words

指令

cat /proc/meminfo

输出:

MemTotal:        1016200 kB
MemFree:          156916 kB
MemAvailable:     640032 kB
Buffers:           32148 kB
Cached:           562820 kB
SwapCached:       145432 kB
Active:           346924 kB
Inactive:         442056 kB
Active(anon):      23720 kB
Inactive(anon):   170352 kB
Active(file):     323204 kB
Inactive(file):   271704 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       2047996 kB
SwapFree:        1784540 kB
Dirty:                32 kB
Writeback:             0 kB
AnonPages:         62232 kB
Mapped:            37192 kB
Shmem:                60 kB
Slab:              47584 kB
SReclaimable:      31800 kB
SUnreclaim:        15784 kB
KernelStack:        3408 kB
PageTables:         5716 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     2556096 kB
Committed_AS:    1058756 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
HardwareCorrupted:     0 kB
AnonHugePages:     28672 kB
CmaTotal:              0 kB
CmaFree:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:       49024 kB
DirectMap2M:      999424 kB
DirectMap1G:           0 kB
Views: 3,032 · Posted: 2019-04-29

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb/LiteNote

扫描下方二维码关注公众号和小程序↓↓↓

扫描下方二维码关注公众号和小程序↓↓↓


Today On History
Browsing Refresh