From: Simon Valiquette <v.simon@ieee.org>
To: linux-newbie@vger.kernel.org
Cc: Girish A Joshi <gaj@fluent.co.in>
Subject: Re: process priority
Date: Mon, 18 Oct 2004 05:07:02 -0400 [thread overview]
Message-ID: <417387B6.3050806@ieee.org> (raw)
In-Reply-To: <20041018082910.56565.qmail@web61001.mail.yahoo.com>
sumit kalra a écrit :
> Hi,
>
> You can use the 'nice' utility (man nice). To change
> the priority of a process programatically, you can use
> the nice() function (man 2 nice).
>
> Regards,
> Sumit
>
You can also use renice, to change the process priority of an already
running process. Unfortunatelly, you can only lower the priority of the
process. With renice, You need to be root to put higher the priority of
a running process. Still, it is usefull if you want to lower the
priority of a group of process that take lots of ressources on a system
(ex. lowering the priority of a big "find" request all over your hardisk
while you are doing something else more important).
As far as I know, both nice and renice are available for every modern
Unix systems.
Simon Valiquette
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
prev parent reply other threads:[~2004-10-18 9:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-18 7:49 process priority Girish A Joshi
2004-10-18 8:29 ` sumit kalra
2004-10-18 9:07 ` Simon Valiquette [this message]
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=417387B6.3050806@ieee.org \
--to=v.simon@ieee.org \
--cc=gaj@fluent.co.in \
--cc=linux-newbie@vger.kernel.org \
/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