るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.014秒)
トップページ > モジュール:Process[x] > バージョン:2.4.0[x] > クエリ:pid[x] > クエリ:getsid[x]

別のキーワード

  1. _builtin pid
  2. csv pid
  3. stringio pid
  4. io pid
  5. process pid

ライブラリ

検索結果

Process.#getsid(pid = 0) -> Integer (54766.0)

引数 pid で指定されたプロセスのセッション ID を返します。

...e NotImplementedError メソッドが現在のプラットフォームで実装されて
いない場合に発生します。

Process
.getsid() # => 27422
Process
.getsid(0) # => 27422
Process
.getsid(Process.pid()) # => 27422

@see getsid(2)...