>>>>> "nishanth" == nishanth ev <[EMAIL PROTECTED]> writes:
nishanth> Program will run as a daemon and you can kill it using nishanth> kill -9 <pids of file.pl> Please stop pulling out "kill -9" as your first reach. It stops processes *dead* without giving them a chance to clean up. This is *in general* dangerous. It's a bit like lighting a fireplace with a flamethrower... yeah, it could work as a last resort, but SHOULD NOT be routine. Take a lesson from shutdown(8), which sends a 15 to processes, waits a bit, then sends a 2 to processes, then waits a bit, then FINALLY sends a 9 to anything that didn't shutdown nicely from the other two steps. (I may misremember the order here, but 9 isn't used until a third pass.) REMEMBER KIDS pass it on. Break the "kill -9" habit! -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>