Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library _builtin > module Process > uid
uid -> Integer
プロセスの実ユーザ ID を返します。
[SEE_ALSO] getuid(2)