http://www.perlmonks.org?node_id=644974


in reply to killing linux process with CGI

First off you should never be sending a signal 9 to a process unless prior attempts with other signals have falled (as has been pointed out to you in this thread) and secondly the parameter you need to send should have been a positive integer not a negative one. See kill.

When you are passing the signal number from the shell the "-" signifies an optional parementer is being passed, not the signedness of the number of the signal.


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg