[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Faster shutdown and the ubuntu "multiuser" update-rc.d extention



Hallo Petter,

Petter Reinholdtsen <pere@hungry.com> wrote:
> [Kurt Roeckx]
>> Why is it using -18?   Please change that to SIGCONT, it depends on the
>> arch what the value should be.  See signal(7), which even mentions that
>> that is different for ppc/i386.
>
> Historical reasons and because that is what killall5 support, as I
> noticed you discovered shortly after you sent this email. :)

What about kill -l?

% kill -l SIGCONT
18

>> I think it would be nice that in case it needs to send KILL
>> for debug purpuses it could:
>> - output which processes are still running
>
> Would need a change in the interface and behaviour of killall5, or
> perhaps it is enough to do 'ps -ef' or similar?  Not sure if it is
> useful in non-debugging sessions, though.

IMO, yes. Printing the process names should not clutter the screen and
might provide informations to detect problems. It's better to have more
informations than less.

Bye, Jörg.
-- 
Dadurch, dass man einen anderen ins Irrenhaus sperrt,
beweist man noch nicht seinen eigenen Verstand.


Reply to: