[lkml]   [2009]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: per user memory limit and LSM module
> 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.

 \ /
  Last update: 2009-05-29 14:59    [W:0.030 / U:0.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site