Re: Information From Buffers

From: Artur Baruchi
Date: Mon Oct 04 2010 - 07:04:29 EST


Hi Wang.

Thanks for your reply.

No, inside /proc/meminfo there are just high level information (macro)
about what is going on inside the memory. I need do get more details
about page cache, things like, what files are being buffered, how much
files are being buffered, size of this files, etc. This information
can be reach using buffer_head linked list, but I dont know how to
walk through this list.

Thanks.

Att.
Artur Baruchi


On Mon, Oct 4, 2010 at 7:12 AM, Américo Wang <xiyou.wangcong@xxxxxxxxx> wrote:
> On Fri, Oct 01, 2010 at 03:27:04PM -0300, Artur Baruchi wrote:
>>Hi Guys.
>>
>>I would like to get more information about how cache/buffers are being
>>used by kernel. Is there a way to walk through the buffer_head list
>>and get these details ?
>>
>
> In /proc/meminfo, there are "Buffers" and "Cached" fields, are they
> what you are looking for?
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/