mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Iliya <vnsavage@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: per user memory limit and LSM module
Date: Fri, 29 May 2009 13:57:49 +0100	[thread overview]
Message-ID: <20090529135749.3531240f@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <b0b0b0000905290551t7e0a081bm814de19a8101814a@mail.gmail.com>

> Any suggestions on how can I quickly get or maintain a list of all the
> running tasks per user(or just the memory usage), without patching the
> kernel would be greatly appreciated.

Even if you could what would you do with it, large parts of memory don't
have a single owner and even if they did you would have to traverse tens
of thousands of objects so it would be incredibly slow.

Take a look at the containers work and OpenVZ as I suspect that is what
you need to work from.

  reply	other threads:[~2009-05-29 12:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-29 12:51 Iliya
2009-05-29 12:57 ` Alan Cox [this message]
     [not found]   ` <b0b0b0000905290611r45b1d528o98ee26ec0f534639@mail.gmail.com>
2009-05-29 13:15     ` Fwd: " Iliya

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=20090529135749.3531240f@lxorguk.ukuu.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vnsavage@gmail.com \
    /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®