るりまサーチ

最速Rubyリファレンスマニュアル検索!
33件ヒット [1-33件を表示] (0.021秒)
トップページ > クエリ:==[x] > クエリ:getrlimit[x]

別のキーワード

  1. _builtin ==
  2. openssl ==
  3. rexml/document ==
  4. matrix ==
  5. == _builtin

種類

ライブラリ

モジュール

キーワード

検索結果

Process.#getrlimit(resource) -> [Integer] (18119.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)...

ruby 1.8.5 feature (18.0)

ruby 1.8.5 feature ruby 1.8.4 から ruby 1.8.5 までの変更点です。

...form]: 対応プラットフォームの追加

==
1.8.4 (2005-12-24) -> ((<stable-snapshot|URL:ftp://ftp.ruby-lang.org/pub/ruby/stable-snapshot.tar.gz>))

==
= 2006-06-18

: BasicSocket#recv_nonblock [new]
: UDPSocket#recvfrom_nonblock [new]

追加

==
= 2006-06-17

: Pathname(path) [new]

pathn...
...ss", "w") {|f| f.print(rss10.to_xml("2.0"))}

((<ruby-talk:197284>))

: RSS::VERSION

"0.1.5"から"0.1.6"になりました。

==
= 2006-06-14

: Process.getrlimit(resource) [new]
: Process.setrlimit(resource, limit) [new]
: Process.setrlimit(resource, cur_limit, max_limit) [new]
: Process::RL...
...LIMIT_SBSIZE

追加 ((<ruby-dev:28729>))

==
= 2006-06-11

: OptionParser#getopts [new]

: tempfile の生成するテンポラリファイルの名前が <basename><pid>.<count> から <basename>.<pid>.<count> になりました ((<ruby-talk:196272>))

==
= 2006-06-07

: configure --with-winsock2...

ruby 1.9 feature (18.0)

ruby 1.9 feature ruby version 1.9.0 は開発版です。 以下にあげる機能は将来削除されたり互換性のない仕様変更がなされるかもしれません。 1.9.1 以降は安定版です。 バグ修正がメインになります。

...ムの追加

==
1.9.0

==
= 2006-09-16

: Struct#inspect

==
= 2006-09-14

: digest.rb
: Digest::Base.file

==
= 2006-09-13

: Hash#compare_by_identity
: Hash#compare_by_identity?
: Hash#identical
: Hash#identical?

==
= 2006-09-12

: Hash#compare_by_identity
: Hash#compare_by_identity?

==
= 2006-09-11...
...: Hash#identical
: Hash#identical?

==
= 2006-08-31

: Array#shuffle
: Array#shuffle!

追加

==
= 2006-07-26

: __send
: __send!

追加

: invoke_method
: invoke_functional_method

削除

==
= 2006-07-21

: Module#attr

オプショナル引数の assignable がなくなり、attr_reader...
...(<ruby-talk:122482>))

==
= 2004-12-03
: method(:y).to_proc.call{ p :ok }
Method#to_proc で作った ((<Proc>)) オブジェクトからメソッド y へと
ブロックが引き渡されるようになりました。((<ruby-dev:25031>))

==
= 2004-11-14

: Process.getrlimit(resource) [new]
: Pr...