리눅스 meminfo

IT위키

개요[편집 | 원본 편집]

리눅스에서 메모리 정보를 확인한다.

사용법[편집 | 원본 편집]

# cat /proc/meminfo

예시[편집 | 원본 편집]

# cat /proc/meminfo
MemTotal:        1019860 kB
MemFree:          101716 kB
Buffers:            7548 kB
Cached:           129088 kB
SwapCached:        32012 kB
Active:           383660 kB
Inactive:         402616 kB
Active(anon):     314212 kB
Inactive(anon):   335568 kB
Active(file):      69448 kB
Inactive(file):    67048 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       2097148 kB
SwapFree:        1783464 kB
Dirty:               188 kB
Writeback:             0 kB
AnonPages:        628544 kB
Mapped:            17696 kB
Shmem:                44 kB
Slab:              56352 kB
SReclaimable:      19000 kB
SUnreclaim:        37352 kB
KernelStack:        3136 kB
PageTables:        40408 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     2607076 kB
Committed_AS:    1323200 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      288352 kB
VmallocChunk:   34359423860 kB
HardwareCorrupted:     0 kB
AnonHugePages:    129024 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:        8192 kB
DirectMap2M:     1040384 kB