Re: getrlimit for an arbitrary process?

From: Rik van Riel
Date: Sun Nov 02 2003 - 22:15:01 EST


On Sun, 2 Nov 2003, Ville Herva wrote:

> Is there a way to query/set getrlimit/setrlimit for an arbitrary process?

Nope, rlimits only work on the current process
(and a few of them work on the current UID).

> Couldn't find it under /proc, at least on 2.4.x.

Good idea for 2.7, though we might as well go
all the way and set up more arbitrary resource
groups.

Take a look at http://ckrm.sourceforge.net/ ;)

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/