If there is more than one way, please list them. I only know of one, but I\'m wondering if there is a cleaner, in-Ruby way.
You can try using
Process::kill 0, pid
where pid is the pid number, if the pid is running it should return 1.