Re: per user memory limit and LSM module

From: Alan Cox
Date: Fri May 29 2009 - 08:56:50 EST

> 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.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at