Ruby 1.9.2 Reference Manual > All Libraries > Builtin Library > module Process::GID > rid
rid -> Integer
現在のプロセスの実グループ ID を返します。
Process.rid #=> 500