mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christoph Lameter <clameter@sgi.com>
To: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>,
	linux-kernel@vger.kernel.org, Albert Cahalan <acahalan@gmail.com>
Subject: Re: How to find slab\'s usage?
Date: Mon, 15 Oct 2007 11:51:30 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0710151150530.25274@schroedinger.engr.sgi.com> (raw)
In-Reply-To: <84144f020710130110r6b13389aj43bb7b79ecd5e1b7@mail.gmail.com>

On Sat, 13 Oct 2007, Pekka Enberg wrote:

> Hi,
> 
> On 10/12/07, Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp> wrote:
> > > > I saw /proc/meminfo and it seems to me that slab is leaking memory.
> > > > But /usr/bin/slabtop claims /proc/slabinfo is missing.
> 
> At some point in time, I wrote:
> > > Do you have CONFIG_SLUB enabled? Try looking into /sys/slab/.
> 
> On 10/13/07, Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp> wrote:
> > 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?

There is a tool in Documentation/vm/slabinfo.c. Just compile that.

> I don't think slabtop in procps has been updated to support slub. Christoph?

slabinfo can probably do much of what slabtop does.


  reply	other threads:[~2007-10-15 18:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-12  7:01 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 [this message]
2007-10-13  8:10     ` Eric Dumazet
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=Pine.LNX.4.64.0710151150530.25274@schroedinger.engr.sgi.com \
    --to=clameter@sgi.com \
    --cc=acahalan@gmail.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

all inboxes | Powered by JetHome®