supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* howto set nice level?
@ 2004-06-11  9:18 Csillag Tamas
  2004-06-11 13:26 ` Laurent Bercot
  0 siblings, 1 reply; 3+ messages in thread
From: Csillag Tamas @ 2004-06-11  9:18 UTC (permalink / raw)


Hi,

Can you help what is the preferred way to set a nice level on a
supervisioned process?

I think if I do: nice -18 someprog
then I can't send signals to someprog, only to nice.

Thanks in advance.

-- 
cstamas


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

* Re: howto set nice level?
  2004-06-11  9:18 howto set nice level? Csillag Tamas
@ 2004-06-11 13:26 ` Laurent Bercot
  2004-06-11 22:26   ` Csillag Tamas
  0 siblings, 1 reply; 3+ messages in thread
From: Laurent Bercot @ 2004-06-11 13:26 UTC (permalink / raw)


> Can you help what is the preferred way to set a nice level on a
> supervisioned process?
> 
> I think if I do: nice -18 someprog
> then I can't send signals to someprog, only to nice.

 You think wrong. "nice" doesn't fork : it execs into someprog, which
runs with the same PID, and you'll be able to send signals all right.

-- 
 Ska


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

* Re: howto set nice level?
  2004-06-11 13:26 ` Laurent Bercot
@ 2004-06-11 22:26   ` Csillag Tamas
  0 siblings, 0 replies; 3+ messages in thread
From: Csillag Tamas @ 2004-06-11 22:26 UTC (permalink / raw)


On 06/11, Laurent Bercot wrote:
> > Can you help what is the preferred way to set a nice level on a
> > supervisioned process?
> > 
> > I think if I do: nice -18 someprog
> > then I can't send signals to someprog, only to nice.
> 
>  You think wrong. "nice" doesn't fork : it execs into someprog, which
> runs with the same PID, and you'll be able to send signals all right.
> 
> -- 
>  Ska

Thanks.

-- 
cstamas


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

end of thread, other threads:[~2004-06-11 22:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-11  9:18 howto set nice level? Csillag Tamas
2004-06-11 13:26 ` Laurent Bercot
2004-06-11 22:26   ` Csillag Tamas

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).