Get process status by pid in Ruby
Is there a way to get a process's child process status based on its PID in Ruby?

For example, in Python you can do psutil.Process(pid).status
Get process status by pid in Ruby
===

Is there a way to get a process's child process status based on its PID in Ruby?

For example, in Python you can do psutil.Process(pid).status