On Wed, Jul 22, 2009 at 10:54 PM, Matthew Dillon<dil...@apollo.backplane.com> wrote: > > It should, except for the shutdown script you probably want to > try to kill the other scripts frist and then do a lockf -k -t 10 > to pick up the hmc script if/when the others finish terminating, > with 10 timeout in case something races and doesn't terminate (lock > file still held by someone else). >
I can kill the script and 'hammer mirror-stream' processes with pkill -f /usr/bin/lockf -k -t 0 .lockfile ./hms and pkill -f hammer mirror-stream /Backup1/Data /Backup2/Data But I am not able to kill the kernel helper threads root -1 0.0 0.0 0 0 ?? BL 2:23PM 0:00.00 (hammer-S2) root -1 0.0 0.0 0 0 ?? BL 2:23PM 0:00.00 (hammer-S1) root -1 0.0 0.0 0 0 ?? BL 2:23PM 0:00.00 (hammer-S0) root -1 0.0 0.0 0 0 ?? BL 2:23PM 0:00.00 (hammer-M) root -1 0.0 0.0 0 0 ?? BL 2:23PM 0:00.00 (hammer-S3) root -1 0.0 0.0 0 0 ?? BL 2:23PM 0:00.00 (hammer-S2) root -1 0.0 0.0 0 0 ?? BL 2:23PM 0:00.00 (hammer-S1) root -1 0.0 0.0 0 0 ?? BL 2:23PM 0:00.00 (hammer-S0) root -1 0.0 0.0 0 0 ?? BL 2:23PM 0:00.00 (hammer-M) root -1 0.0 0.0 0 0 ?? BL 2:23PM 0:00.00 (hammer-S3) They don't get killed when the 'hammer mirror-stream processes is killed. How do I kill them? Thanks Siju