From: Rik van Riel <riel@redhat.com>
To: Ville Herva <vherva@niksula.hut.fi>
Cc: linux-kernel@vger.kernel.org
Subject: Re: getrlimit for an arbitrary process?
Date: Sun, 2 Nov 2003 22:14:11 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.44.0311022213140.28000-100000@chimarrao.boston.redhat.com> (raw)
In-Reply-To: <20031102090505.GB9015@niksula.cs.hut.fi>
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
next prev parent reply other threads:[~2003-11-03 3:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-02 9:05 getrlimit for an arbitrary process? Ville Herva
2003-11-03 3:14 ` Rik van Riel [this message]
2003-11-03 6:22 ` Ville Herva
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=Pine.LNX.4.44.0311022213140.28000-100000@chimarrao.boston.redhat.com \
--to=riel@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=vherva@niksula.hut.fi \
/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;
as well as URLs for NNTP newsgroup(s).