分类: 服务器与存储
2015-01-15 12:17:04
Linux查看内存,负载状态
查看内存使用情况
/proc/meminfo
MemTotal: 16332644 kB
MemFree: 5635360 kB
Buffers: 787976 kB
Cached: 3728512 kB
SwapCached: 13136 kB
Active: 8322332 kB
Inactive: 1485644 kB
Active(anon): 5040892 kB
Inactive(anon): 252348 kB
Active(file): 3281440 kB
Inactive(file): 1233296 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 10485752 kB
SwapFree: 10435036 kB
Dirty: 100 kB
Writeback: 0 kB
AnonPages: 5278444 kB
Mapped: 47956 kB
Shmem: 1752 kB
Slab: 645192 kB
SReclaimable: 584076 kB
SUnreclaim: 61116 kB
KernelStack: 7304 kB
PageTables: 47108 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 18652072 kB
Committed_AS: 27277360 kB
VmallocTotal: 34359738367 kB
VmallocU: 42756 kB
VmallocChunk: 34359690596 kB
HardwareCorrupted: 0 kB
AnonHugePages: 4573184 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 8180 kB
DirectMap2M: 16769024 kB
查看系统负载和进程队列状态:
cat /proc/loadavg
0.00 0.00 0.00 1/911 2498