Pages

Sunday, August 5, 2012

How to get RAM info in linux?

Simple give cat /proc/meminfo

Sample output

abhi:/sys/class# cat /proc/meminfo
MemTotal:      1036092 kB
MemFree:        600532 kB
Buffers:        150752 kB
Cached:         141268 kB
SwapCached:          0 kB
Active:         233532 kB
Inactive:       161568 kB
HighTotal:      131008 kB
HighFree:          252 kB
LowTotal:       905084 kB
LowFree:        600280 kB
SwapTotal:     2650684 kB
SwapFree:      2650684 kB
Dirty:             360 kB
Writeback:           0 kB
AnonPages:      103064 kB
Mapped:          42420 kB
Slab:            28744 kB
SReclaimable:    23412 kB
SUnreclaim:       5332 kB
PageTables:       1668 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
WritebackTmp:        0 kB
CommitLimit:   3168728 kB
Committed_AS:   274432 kB
VmallocTotal:   114680 kB
VmallocUsed:      4596 kB
VmallocChunk:   109660 kB
HugePages_Total:     0
HugePages_Free:      0
HugePages_Rsvd:      0
HugePages_Surp:      0
Hugepagesize:     4096 kB

No comments:

Post a Comment