[OT] remove process or file [was Re: [plug] funny process name]
Bernd Felsche
bernie at innovative.iinet.net.au
Tue Sep 30 16:05:27 WST 2003
On Tue, Sep 30, 2003 at 03:19:56PM +0800, Ben New wrote:
> Bernd Felsche wrote:
> >>I'm sure there's a better way to test for a process with given ID ($p)
> >>other than testing for a file in /proc, but not sure how?
> >kill -0 $p && kill -KILL $p
> guess that would make sense ;-) the -0 option sends signal 0 (which does
> nothing) to the process, so effectively just tests for the pid.. right?
Right.
--
/"\ Bernd Felsche - Innovative Reckoning, Perth, Western Australia
\ / ASCII ribbon campaign | I'm a .signature virus!
X against HTML mail | Copy me into your ~/.signature
/ \ and postings | to help me spread!
_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug
More information about the plug
mailing list