/proc/meminfo

Roets, Chris (chris.roets@hp.com)
Mon, 2 Jun 2003 13:55:47 +0200


if you look at /proc/meminfo, what values to you need to add to each
other
to get to the total memory ?
ok, used and free (256241664 5042176),
but then how do you come to used :

Active + Inactive_dirty + Inactive_clean + ....
in the case below, I can't find where 57360 Kb are allocated to.
I looked ad slabinfo, but cold get to the total niether
Does anybody have the calculation to get to the total ?
Thanks,
Chris

[root@tanos4 mypdc]# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 261283840 256241664 5042176 81920 9867264 177315840
Swap: 536862720 434176 536428544
MemTotal: 255160 kB
MemFree: 4924 kB
MemShared: 80 kB
Buffers: 9636 kB
Cached: 172736 kB
SwapCached: 424 kB
Active: 9196 kB
Inact_dirty: 132844 kB
Inact_clean: 40836 kB
Inact_target: 884 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 255160 kB
LowFree: 4924 kB
SwapTotal: 524280 kB
SwapFree: 523856 kB
NrSwapPages: 130964 pages

Chris Roets
HP Customer support
Tru64 and Linux support
HP Belgium
www.hp.be

Chris.Roets@hp.com
Tel +32 2 729.77.44
http://www.roets.tk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/