sub not_running { my $pid=shift; 0 == kill(0,$pid) }