Ruby 1.9.2 Reference Manual > All Libraries > Builtin Library > class Process::Status > pid
pid -> Integer
終了したプロセスのプロセス ID を返します。