__/ [ michal2@xxxxxxxxx ] on Sunday 12 March 2006 12:18 \__
> In order to kill a process I am using pkill -9 -f ${PROCESS_NAME}
> It usually works fine, but sometimes I get a feedback that the process
> is not running while in fact it is running.
>
> Is there another way to make sure the process is really down?
>
> (Sorry, I'm kinda new to this thing...)
Try this:
killall -HUP <application-name>
This should kill all sessions/instances of an process that matches
<application-name>.
Hope it helps,
Roy
--
Roy S. Schestowitz
http://Schestowitz.com | SuSE Linux | PGP-Key: 0x74572E8E
12:50pm up 4 days 5:27, 8 users, load average: 1.29, 0.81, 0.58
http://iuron.com - Open Source knowledge engine project
|
|