[lkml]   [1996]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectprocesses, seen from kernel
A few odd questions:

How would I iterate over all the processes?
While looking at processes, how do I determine if a process
has IO privs?
has mapped physical/kernel memory?
is root or group root?
is somewhat root? (EUID, UID, GID, ...)
is real-time scheduled?
is protected from SIGKILL?
While looking at processes, how do I determine the number of
unshared dirty pages?
copies running?

I'm hoping it will not be too hard to at least put a small dent
in the old out-of-VM problem. I hate it when the X server dies.
BTW, X needs to be protected. As a user "startx" and "kill -9" can
be used to completely mess up the Linux console. Even if it is
running completely as root, Netscape and xv can be used to make
the kernel kill X.

 \ /
  Last update: 2005-03-22 13:37    [W:0.017 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site