public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
* process priority
@ 2004-10-18  7:49 Girish A Joshi
  2004-10-18  8:29 ` sumit kalra
  0 siblings, 1 reply; 3+ messages in thread
From: Girish A Joshi @ 2004-10-18  7:49 UTC (permalink / raw)
  To: linux-newbie

can i set higher priority for a process in RHL 8.0.
If yes, then how to go about it?
-
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: process priority
  2004-10-18  7:49 process priority Girish A Joshi
@ 2004-10-18  8:29 ` sumit kalra
  2004-10-18  9:07   ` Simon Valiquette
  0 siblings, 1 reply; 3+ messages in thread
From: sumit kalra @ 2004-10-18  8:29 UTC (permalink / raw)
  To: Girish A Joshi; +Cc: linux-newbie

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

 --- Girish A Joshi <gaj@fluent.co.in> wrote: 
> can i set higher priority for a process in RHL 8.0.
> If yes, then how to go about it?
> -
> 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
>  


	
	
		
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com
-
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: process priority
  2004-10-18  8:29 ` sumit kalra
@ 2004-10-18  9:07   ` Simon Valiquette
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Valiquette @ 2004-10-18  9:07 UTC (permalink / raw)
  To: linux-newbie; +Cc: Girish A Joshi

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-18  9:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox