Thursday, January 04, 2007

realkill


carino questo script in perl
un accanimento terapeutico...


for my $signal (qw{TERM INT HUP KILL}) {
last if kill $signal, $pid;
warn "warning: kill failed: pid=$pid, signal=$signal\n";
sleep 1;
}

No comments: