리눅스 meminfo: Difference between revisions

From IT Wiki
(새 문서: ==개요== 리눅스에서 메모리 정보를 확인한다. ==사용법== <pre class='code'> # cat /proc/cpuinfo </pre> ==예시== <pre class='code'> # cat /proc/meminfo MemTotal:...)
 
(→‎사용법: cat/proc/meminfo)
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:


==사용법==
==사용법==
<pre class='code'>
<pre class="shell">
# cat /proc/cpuinfo
# cat /proc/meminfo
</pre>
</pre>


==예시==
==예시==
<pre class='code'>
<pre class='shell'>
# cat /proc/meminfo
# cat /proc/meminfo
MemTotal:        1019860 kB
MemTotal:        1019860 kB
Line 53: Line 53:
DirectMap2M:    1040384 kB
DirectMap2M:    1040384 kB
</pre>
</pre>
[[분류:리눅스]]
[[분류:리눅스 파일]]

Latest revision as of 15:48, 18 July 2022

개요[edit | edit source]

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

사용법[edit | edit source]

# cat /proc/meminfo

예시[edit | edit source]

# 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