riccardo wrote:
On Wednesday 23 February 2005 07:11 pm, Mikkel L. Ellertson wrote:
difference between doing this script, and using the killall command?
___
~ have been doing some [EMAIL PROTECTED]
. . . before doing a backup this morning, i gave root command :
killall Fah
on SuSE list, noticed a tiny bash script which is handy :-
...
#!/bin/sh
#
# kill process/program
#
while true
do
kill -9 `ps aux | grep -i $1 | awk '{ print $2 }'` sleep 2
done
...
remember +x - it needs chmod +x to make script executable.
riccardo wrote:
on SuSE list, noticed a tiny bash script which is handy :-
...
#!/bin/sh
#
# kill process/program
#
while true
do
kill -9 `ps aux | grep -i $1 | awk '{ print $2 }'` sleep 2
done
...
remember +x - it needs chmod +x to make script
On Wednesday 23 February 2005 07:11 pm, Mikkel L. Ellertson wrote:
defference between doing this script, and using the killall command?
~ a glance at man killall suggests that killall is the cadillac
of killing :))
best rgds
__