Ruby 4.0 リファレンスマニュアル

module function Process::GID?.rid

rid -> Integer[permalink][rdoc][edit]

現在のプロセスの実グループ ID を返します。

p Process.rid #=> 500