mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Is there an easy way to collect how much memory is used for page cache?
@ 2006-04-25 15:27 Xin Zhao
  2006-04-25 15:50 ` Andreas Mohr
  2006-04-25 15:52 ` linux-os (Dick Johnson)
  0 siblings, 2 replies; 3+ messages in thread
From: Xin Zhao @ 2006-04-25 15:27 UTC (permalink / raw)
  To: linux-kernel

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

Thanks!

-x

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Is there an easy way to collect how much memory is used for page cache?
  2006-04-25 15:27 Is there an easy way to collect how much memory is used for page cache? Xin Zhao
@ 2006-04-25 15:50 ` Andreas Mohr
  2006-04-25 15:52 ` linux-os (Dick Johnson)
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Mohr @ 2006-04-25 15:50 UTC (permalink / raw)
  To: Xin Zhao; +Cc: linux-kernel

Hi,

On Tue, Apr 25, 2006 at 11:27:08AM -0400, Xin Zhao wrote:
> Specifically, how much memory is used to cache data for file systems? 
> Any way to measure it?

cat /proc/slabinfo, possibly?

Andreas Mohr

-- 
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Is there an easy way to collect how much memory is used for page cache?
  2006-04-25 15:27 Is there an easy way to collect how much memory is used for page cache? Xin Zhao
  2006-04-25 15:50 ` Andreas Mohr
@ 2006-04-25 15:52 ` linux-os (Dick Johnson)
  1 sibling, 0 replies; 3+ messages in thread
From: linux-os (Dick Johnson) @ 2006-04-25 15:52 UTC (permalink / raw)
  To: Xin Zhao; +Cc: linux-kernel


On Tue, 25 Apr 2006, Xin Zhao wrote:

> 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.
_
\x1a\x04

****************************************************************
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 DeliveryErrors@analogic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-25 15:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-25 15:27 Is there an easy way to collect how much memory is used for page cache? Xin Zhao
2006-04-25 15:50 ` Andreas Mohr
2006-04-25 15:52 ` linux-os (Dick Johnson)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®