Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

prioritizing a daemon

 
   Soft32 Home -> Linux -> General Discussions RSS
Next:  [PATCH] firewire: cdev: shut down iso context bef..  
Author Message
Steve

External


Since: Nov 28, 2008
Posts: 15



(Msg. 1) Posted: Mon Jan 05, 2009 3:20 pm
Post subject: prioritizing a daemon
Archived from groups: linux>redhat (more info?)

Hi,

How can I prioritize a daemon ? or a service ?
Is there an easy way to do it ?

Thanks and regards,
Back to top
Login to vote
1PW

External


Since: Nov 07, 2008
Posts: 17



(Msg. 2) Posted: Mon Jan 05, 2009 3:20 pm
Post subject: Re: prioritizing a daemon [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 01/05/2009 11:39 AM, Steve sent:
> Hi,
>
> How can I prioritize a daemon ? or a service ?
> Is there an easy way to do it ?
>
> Thanks and regards,

man 1 nice

--
1PW @?6A62?FEH9:DE=6o2@=]4@> [r4o7t]
Back to top
Login to vote
Johnny Rebel

External


Since: Jan 05, 2009
Posts: 6



(Msg. 3) Posted: Mon Jan 05, 2009 7:09 pm
Post subject: Re: prioritizing a daemon [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

1PW wrote:
> On 01/05/2009 11:39 AM, Steve sent:
>> Hi,
>>
>> How can I prioritize a daemon ? or a service ?
>> Is there an easy way to do it ?
>>
>> Thanks and regards,
>
> man 1 nice
>

man 8 renice

--


--> GNU/Linux is user friendly... it's just picky about its friends.
Back to top
Login to vote
Steve

External


Since: Nov 28, 2008
Posts: 15



(Msg. 4) Posted: Tue Jan 06, 2009 5:20 pm
Post subject: Re: prioritizing a daemon [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Johnny Rebel wrote:
> 1PW wrote:
>> On 01/05/2009 11:39 AM, Steve sent:
>>> Hi,
>>>
>>> How can I prioritize a daemon ? or a service ?
>>> Is there an easy way to do it ?
>>>
>>> Thanks and regards,
>> man 1 nice
>>
>
> man 8 renice
>


Hi,

Thnanks,..

Is there a way to list all application running WITH their priority ?

I tried ps -aux... but not sure that it displays the priority

Thanks
Back to top
Login to vote
Johnny Rebel

External


Since: Jan 05, 2009
Posts: 6



(Msg. 5) Posted: Tue Jan 06, 2009 5:20 pm
Post subject: Re: prioritizing a daemon [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Steve wrote:
> Johnny Rebel wrote:
>> 1PW wrote:
>>> On 01/05/2009 11:39 AM, Steve sent:
>>>> Hi,
>>>>
>>>> How can I prioritize a daemon ? or a service ?
>>>> Is there an easy way to do it ?
>>>>
>>>> Thanks and regards,
>>> man 1 nice
>>>
>>
>> man 8 renice
>>
>
>
> Hi,
>
> Thnanks,..
>
> Is there a way to list all application running WITH their priority ?
>
> I tried ps -aux... but not sure that it displays the priority
>
> Thanks

'top' shows the nice value ... that is easiest. Other than that, have a
look at man 1 ps ...

JR.


--


--> GNU/Linux is user friendly... it's just picky about its friends.
Back to top
Login to vote
Johnny Rebel

External


Since: Jan 05, 2009
Posts: 6



(Msg. 6) Posted: Tue Jan 06, 2009 6:45 pm
Post subject: Re: prioritizing a daemon [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Johnny Rebel wrote:
> Steve wrote:
>> Johnny Rebel wrote:
>>> 1PW wrote:
>>>> On 01/05/2009 11:39 AM, Steve sent:
>>>>> Hi,
>>>>>
>>>>> How can I prioritize a daemon ? or a service ?
>>>>> Is there an easy way to do it ?
>>>>>
>>>>> Thanks and regards,
>>>> man 1 nice
>>>>
>>> man 8 renice
>>>
>>
>> Hi,
>>
>> Thnanks,..
>>
>> Is there a way to list all application running WITH their priority ?
>>
>> I tried ps -aux... but not sure that it displays the priority
>>
>> Thanks
>
> 'top' shows the nice value ... that is easiest. Other than that, have a
> look at man 1 ps ...
>
> JR.
>
>


And to follow up on that - ps (gnu) supports printf type formating with
the '-o' option - as in:

ps -eo " %U %n %p %a"

Which gives output like:

USER NI PID COMMAND
root 0 1 /sbin/init
root -5 2 [kthreadd]
root - 3 [migration/0]
root -5 4 [ksoftirqd/0]
root - 5 [watchdog/0]
root - 6 [migration/1]
root -5 7 [ksoftirqd/1]
root - 8 [watchdog/1]
root - 9 [migration/2]
etc....


That is probably more what you are looking for. All the available
format specifiers are in the man pages for ps.

JR.
--


--> GNU/Linux is user friendly... it's just picky about its friends.
Back to top
Login to vote
1PW

External


Since: Nov 07, 2008
Posts: 17



(Msg. 7) Posted: Wed Jan 07, 2009 8:42 am
Post subject: Re: prioritizing a daemon [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 01/06/2009 01:23 PM, Steve sent:
> Johnny Rebel wrote:
>> 1PW wrote:
>>> On 01/05/2009 11:39 AM, Steve sent:
>>>> Hi,
>>>>
>>>> How can I prioritize a daemon ? or a service ?
>>>> Is there an easy way to do it ?
>>>>
>>>> Thanks and regards,
>>> man 1 nice
>>>
>>
>> man 8 renice
>>
>
>
> Hi,
>
> Thnanks,..
>
> Is there a way to list all application running WITH their priority ?
>
> I tried ps -aux... but not sure that it displays the priority
>
> Thanks

man 1 ps

$ ps -axl | more # Look in the "PRI" column.

--
1PW @?6A62?FEH9:DE=6o2@=]4@> [r4o7t]
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Lisa Daemon - I am using KDE and Fedora Core 1. Also web browser Konqueror. In Konqueror window there is a "Network Browser.&q...

rcd daemon - Hi, Can anyone please tell me what the deal is with the rcd (red carpet daemon)... I have this daemon running on my..

rcd daemon - Hi, Can anyone please tell me what the deal is with the rcd (red carpet daemon)... I have this daemon running on my..

why my daemon crashed but don't core dump some time? - Hi, I have an app server run as daemon on redhat 9.0. It will core dump and have core file when it run error. so ...

Bizarre permissions of httpd daemon, RH EL4 with SELinux. - Some very odd file permission things are going on, and I suspect it has to do with SELinux. Files on my webserver can....

disk cleanup - Hi all, I installed RH8.0 with including all the options (everything) on an 8 gig partition. I've been doing up2date..
       Soft32 Home -> Linux -> General Discussions All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]