Skip to contentSkip to conversation

Is there an easy way to collect how much memory is used for page cache?

DISCUSSION Xin Zhao 3 participants 3 messages Apr 25, 2006

lore
Share & tools
lore

Xin Zhao

author
#0 lore raw

Specifically, how much memory is used to cache data for file systems? Any way to measure it?

Thanks!

-x

#1 lore raw

Hi,

Quoted 2 lines · Xin Zhao

Specifically, how much memory is used to cache data for file systems? Any way to measure it?

cat /proc/slabinfo, possibly?

Andreas Mohr

Signature · 4 lines
Please consider not buying any HDTV hardware! (extremely anti-consumer)
Bitte kaufen Sie besser keinerlei HDTV-Geräte! (extrem verbraucherfeindlich)
Infos:
http://www.hdboycott.com   http://www.eff.org/IP/DRM/   http://bluraysucks.com
#2 lore raw
In reply to Xin Zhao
Quoted 4 lines · Xin Zhao

Specifically, how much memory is used to cache data for file systems? Any way to measure it?

Thanks!

Get the source for vmstat. In the meantime. vmstat.

Cheers,
Dick Johnson
Penguin : Linux version 2.6.16.4 on an i686 machine (5592.89 BogoMips). Warning : 98.36% of all statistics are fiction, book release in April. _


****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to [email protected] - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.