리눅스 meminfo: Difference between revisions
From IT위키
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
==사용법== | ==사용법== | ||
<pre class=' | <pre class='shell'> | ||
# cat /proc/cpuinfo | # cat /proc/cpuinfo | ||
</pre> | </pre> | ||
==예시== | ==예시== | ||
<pre class=' | <pre class='shell'> | ||
# cat /proc/meminfo | # cat /proc/meminfo | ||
MemTotal: 1019860 kB | MemTotal: 1019860 kB |
Revision as of 00:00, 30 April 2018
개요
리눅스에서 메모리 정보를 확인한다.
사용법
# cat /proc/cpuinfo
예시
# 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