From: Eric Dumazet <dada1@cosmosbay.com>
To: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: penberg@cs.helsinki.fi, linux-kernel@vger.kernel.org
Subject: Re: How to find slab\'s usage?
Date: Sat, 13 Oct 2007 10:10:35 +0200 [thread overview]
Message-ID: <47107D7B.7020200@cosmosbay.com> (raw)
In-Reply-To: <200710131702.FHD09857.VSQOLFtFOJHMFO@I-love.SAKURA.ne.jp>
Tetsuo Handa a écrit :
> Hello.
>
> Pekka Enberg wrote:
>>> I saw /proc/meminfo and it seems to me that slab is leaking memory.
>>> But /usr/bin/slabtop claims /proc/slabinfo is missing.
>> Do you have CONFIG_SLUB enabled? Try looking into /sys/slab/.
>
> Yes. There is /sys/slab/ .
> But are there any tools for browsing like /usr/bin/slabtop ?
> Is
> cd /sys/slab/; for i in *; do echo -n $i " "; cat $i/slabs; done
> the only way currently available?
Grab kernel sources, you'll find inside : Documentation/vm/slabinfo.c
gcc -o slabinfo Documentation/vm/slabinfo.c
next prev parent reply other threads:[~2007-10-13 8:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-12 7:01 How to find slab\'s usage? Tetsuo Handa
2007-10-13 7:43 ` Pekka Enberg
2007-10-13 8:02 ` Tetsuo Handa
2007-10-13 8:10 ` Pekka Enberg
2007-10-15 18:51 ` Christoph Lameter
2007-10-13 8:10 ` Eric Dumazet [this message]
2007-10-15 11:41 ` Tetsuo Handa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47107D7B.7020200@cosmosbay.com \
--to=dada1@cosmosbay.com \
--cc=linux-kernel@vger.kernel.org \
--cc=penberg@cs.helsinki.fi \
--cc=penguin-kernel@I-love.SAKURA.ne.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox