$path = "/proc/$pid"; print "process $pid ", -e $path ? "is " : "is not ", "running\n"