> pkill is a better killall? it reminds me to the differences between top
and
> htop (recently someone posted about it).

But how is it better?


Really don't know, my rule is "the one which fits to your needs". I always
use killall and feel comfortable with. Sometimes I use kill, e.g. when
killing a process is not enough and some files are showed to be open by lsof
after a killall or a kill -9.

lsof man page illustrates a -t option which lets you pipe "terse" output to
kill, which makes me suppose 'kill -9 pid' does not kill hanging files
belonging to processes.

Celejar


raffaele

Reply via email to