Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > 組み込みライブラリ > Process::Statusモジュール > pid
pid -> Integer
終了したプロセスのプロセス ID を返します。