signal handling in top

Rob Landley rob at landley.net
Wed Jun 28 14:12:16 UTC 2006


On Tuesday 27 June 2006 8:57 pm, Ji-In Park wrote:
> Hello,
> I found that top doesnt exit with signal SIGINT or SIGTERM. it just refresh
> the screen. but I can terminate it, with press 'Ctrl-c'. Well, here is the
> problem.
>
> I run 'top'. somebody else send SIGTERM to that top. I try to terminate top
> with pressing 'Ctrl-c'. It doesn't exit!
> like that, If I connect to the telnetd or sshd, and run top, and lost
> connection. top still alive.
>
> so, I think top must be exit when receive signal.

Got it.

http://busybox.net/downloads/patches/svn-15540.patch

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list