All of lore.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; 6+ 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] 6+ 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; 6+ 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] 6+ messages in thread

* Re: process priority
  2004-10-18  8:29 ` sumit kalra
@ 2004-10-18  9:07   ` Simon Valiquette
  0 siblings, 0 replies; 6+ 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] 6+ messages in thread

* PROCESS PRIORITY
@ 2014-03-10 17:12 Saurabh Jain
  2014-04-01 17:09 ` Rishi Agrawal
  0 siblings, 1 reply; 6+ messages in thread
From: Saurabh Jain @ 2014-03-10 17:12 UTC (permalink / raw)
  To: kernelnewbies

I am new to Linux kernel and I have got confused . Please can anyone give
answer to my questions :

Q1 -> Is static priority of a thread changes or not ? If changes then how
it changes ?

Q2 -> What is the default value of static priority and dynamic priority for
a process     and thread in Linux kernel ?

Q3 -> What is the initial value of static priority and dynamic priority for
a newly created thread and process?

Q4 -> When we talk about the priority of a process or thread (incrementing
/ decrementing priority , setting priority etc. ) , then which priority we
are referring , is it static priority or dynamic priority ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140310/95a156e9/attachment.html 

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

* PROCESS PRIORITY
  2014-03-10 17:12 PROCESS PRIORITY Saurabh Jain
@ 2014-04-01 17:09 ` Rishi Agrawal
  2014-04-01 17:20   ` Robert P. J. Day
  0 siblings, 1 reply; 6+ messages in thread
From: Rishi Agrawal @ 2014-04-01 17:09 UTC (permalink / raw)
  To: kernelnewbies

Read Linux Kernel Development by Robert Love.

That may help.


On Mon, Mar 10, 2014 at 10:42 PM, Saurabh Jain <saurabh4768jain@gmail.com>wrote:

> I am new to Linux kernel and I have got confused . Please can anyone give
> answer to my questions :
>
> Q1 -> Is static priority of a thread changes or not ? If changes then how
> it changes ?
>
> Q2 -> What is the default value of static priority and dynamic priority
> for a process     and thread in Linux kernel ?
>
> Q3 -> What is the initial value of static priority and dynamic priority
> for a newly created thread and process?
>
> Q4 -> When we talk about the priority of a process or thread (incrementing
> / decrementing priority , setting priority etc. ) , then which priority we
> are referring , is it static priority or dynamic priority ?
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>


-- 
Regards,
Rishi Agrawal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140401/87b85aaa/attachment.html 

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

* PROCESS PRIORITY
  2014-04-01 17:09 ` Rishi Agrawal
@ 2014-04-01 17:20   ` Robert P. J. Day
  0 siblings, 0 replies; 6+ messages in thread
From: Robert P. J. Day @ 2014-04-01 17:20 UTC (permalink / raw)
  To: kernelnewbies

On Tue, 1 Apr 2014, Rishi Agrawal wrote:

> Read Linux Kernel Development by Robert Love.

  careful ... while a very good book, it *is* starting to show its age
just a bit. there are no really current kernel books out there.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

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

end of thread, other threads:[~2014-04-01 17:20 UTC | newest]

Thread overview: 6+ 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
  -- strict thread matches above, loose matches on Subject: below --
2014-03-10 17:12 PROCESS PRIORITY Saurabh Jain
2014-04-01 17:09 ` Rishi Agrawal
2014-04-01 17:20   ` Robert P. J. Day

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.