ライブラリ
- ビルトイン (231)
キーワード
-
RLIMIT
_ AS (11) -
RLIMIT
_ CORE (11) -
RLIMIT
_ CPU (11) -
RLIMIT
_ DATA (11) -
RLIMIT
_ FSIZE (11) -
RLIMIT
_ MEMLOCK (11) -
RLIMIT
_ NOFILE (11) -
RLIMIT
_ NPROC (11) -
RLIMIT
_ RSS (11) -
RLIMIT
_ SBSIZE (11) -
RLIMIT
_ STACK (11) -
RLIM
_ INFINITY (11) -
RLIM
_ SAVED _ CUR (11) -
RLIM
_ SAVED _ MAX (11) - getrlimit (11)
- spawn (44)
検索結果
先頭5件
-
Process
. # setrlimit(resource , cur _ limit , max _ limit) -> nil (26114.0) -
カレントプロセスでのリソースの制限値を設定します。
...AVED_CUR
* Process::RLIM_SAVED_MAX
以下の例は RLIMIT_CORE の制限を hard limit (max limit) まで引き上げ、可能なら core を残すようにします。
Process.setrlimit(Process::RLIMIT_CORE,
Process.getrlimit(Process::RLIMIT_CORE)[1])
@see setrlimit(2)... -
Process
. # setrlimit(resource , limit) -> nil (26114.0) -
カレントプロセスでのリソースの制限値を設定します。
...AVED_CUR
* Process::RLIM_SAVED_MAX
以下の例は RLIMIT_CORE の制限を hard limit (max limit) まで引き上げ、可能なら core を残すようにします。
Process.setrlimit(Process::RLIMIT_CORE,
Process.getrlimit(Process::RLIMIT_CORE)[1])
@see setrlimit(2)... -
Process
:: RLIM _ SAVED _ CUR -> Integer (8032.0) -
Process.#getrlimit, Process.#setrlimit で使われます。詳しくは setrlimit(2) を参照して下さい。
...Process.#getrlimit, Process.#setrlimit で使われます。詳しくは setrlimit(2) を参照して下さい。... -
Process
:: RLIM _ SAVED _ MAX -> Integer (8032.0) -
Process.#getrlimit, Process.#setrlimit で使われます。詳しくは setrlimit(2) を参照して下さい。
...Process.#getrlimit, Process.#setrlimit で使われます。詳しくは setrlimit(2) を参照して下さい。... -
Kernel
. # spawn(env , program , *args , options={}) -> Integer (8018.0) -
引数を外部コマンドとして実行しますが、生成した 子プロセスの終了を待ち合わせません。生成した子プロセスのプロセスIDを返します。
...更しません。デフォルトは nil です。
: :rlimit_core, :rlimit_cpu, etc
resource limit を設定します。詳しくは Process.#setrlimit を見て
ください。引数には整数、もしくは整数2つの配列を渡します。
: :chdir
指定した文字列をカレン......どで、resource limit を指定します。
詳しくは Process.#setrlimit を見てください。
このオプションには 整数 or 整数2つの配列、を渡すことができます。
それぞれ Process.#setrlimit の引数が2個、3個の場合に対応します。
//emlist[][ruby]{... -
Kernel
. # spawn(program , *args) -> Integer (8018.0) -
引数を外部コマンドとして実行しますが、生成した 子プロセスの終了を待ち合わせません。生成した子プロセスのプロセスIDを返します。
...更しません。デフォルトは nil です。
: :rlimit_core, :rlimit_cpu, etc
resource limit を設定します。詳しくは Process.#setrlimit を見て
ください。引数には整数、もしくは整数2つの配列を渡します。
: :chdir
指定した文字列をカレン......どで、resource limit を指定します。
詳しくは Process.#setrlimit を見てください。
このオプションには 整数 or 整数2つの配列、を渡すことができます。
それぞれ Process.#setrlimit の引数が2個、3個の場合に対応します。
//emlist[][ruby]{... -
Process
. # getrlimit(resource) -> [Integer] (8006.0) -
カレントプロセスでのリソースの制限値を、整数の配列として返します。 返り値は、現在の制限値 cur_limit と、制限値として設定可能な最大値 max_limit の 配列 [cur_limit, max_limit] です。
...(バイト) (NetBSD, FreeBSD)
例:
include Process
p lim = getrlimit(RLIMIT_STACK) #=> [8388608, 18446744073709551615]
p lim.map{|i| i == RLIM_INFINITY ? "unlimited" : "#{i/(1024**2)}MB" } #=> ["8MB", "unlimited"]
@see Process.#setrlimit, getrlimit(2)... -
Process
:: RLIMIT _ AS -> Integer (8006.0) -
リソースの種類がプロセスの仮想メモリサイズであることを示す定数です。
...リソースの種類がプロセスの仮想メモリサイズであることを示す定数です。
Process.#getrlimit、Process.#setrlimit で使われます。
システムによっては定義されていません。... -
Process
:: RLIMIT _ CORE -> Integer (8006.0) -
リソースの種類が core ファイルのサイズであることを示す定数です。
...リソースの種類が core ファイルのサイズであることを示す定数です。
Process.#getrlimit、Process.#setrlimit で使われます。
システムによっては定義されていません。... -
Process
:: RLIMIT _ CPU -> Integer (8006.0) -
リソースの種類がプロセスの CPU 時間であることを示す定数です。
...リソースの種類がプロセスの CPU 時間であることを示す定数です。
Process.#getrlimit、Process.#setrlimit で使われます。
システムによっては定義されていません。...