るりまサーチ

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

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. csv to_i
  5. matrix i

検索結果

<< 1 2 3 ... > >>

Shell::Filter#stat(filename) -> File::Stat (24408.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@param filename ファイル名を表す文字列を指定します。

@see File.stat...

FileUtils#sh(*cmd) {|result, status| ... } (24219.0)

与えられたコマンドを実行します。

...nel.#exec を参照してください。


例:
sh
%{ls -ltr}

sh
'ls', 'file with spaces'

# check exit status after command runs
sh
%{grep pattern file} do |ok, res|
i
f ! ok
puts "pattern not found (status = #{res.exitstatus})"
end
end

@see Kernel.#exec, Kern...

Shell#stat(filename) -> File::Stat (21408.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@param filename ファイル名を表す文字列を指定します。

@see File.stat...

Shell::CommandProcessor#stat(filename) -> File::Stat (21408.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@param filename ファイル名を表す文字列を指定します。

@see File.stat...

GC.stat(result_hash = {}) -> {Symbol => Integer} (18308.0)

GC 内部の統計情報を Hash で返します。

...GC 内部の統計情報を Hash で返します。

@param result_hash 戻り値のためのハッシュを指定します。省略した場合は新
しくハッシュを作成します。result_hash の内容は上書き
されます。


@param key 得ら...
...の統計情報をHash で返します。
引数 key を指定した場合は数値を返します。

GC.stat
# =>
{
:count=>2,
:heap_used=>9,
:heap_length=>11,
:heap_increment=>2,
:heap_live_slot=>6836,
:heap_free_slot=>519,
:heap_final_slot=>0,
:heap_...
...38,
:malloc_increase=>181034,
:malloc_limit=>16777216,
:minor_gc_count=>2,
:major_gc_count=>0,
:remembered_shady_object=>55,
:remembered_shady_object_limit=>0,
:old_object=>2422,
:old_object_limit=>0,
:oldmalloc_increase=>277386,
:oldmalloc_limit=>16777216
}...
...計情報をHash で返します。
引数 key を指定した場合は数値を返します。

GC.stat
# =>
{
:count=>0,
:heap_allocated_pages=>24,
:heap_sorted_length=>24,
:heap_allocatable_pages=>0,
:heap_available_slots=>9783,
:heap_live_slots=>7713,...
...070,
:heap_final_slots=>0,
:heap_marked_slots=>0,
:heap_swept_slots=>0,
:heap_eden_pages=>24,
:heap_tomb_pages=>0,
:total_allocated_pages=>24,
:total_freed_pages=>0,
:total_allocated_objects=>7796,
:total_freed_objects=>83,
:malloc_increase_bytes=>23...

絞り込み条件を変える

Shell::Filter#lstat(filename) -> File::Stat (12401.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@param filename ファイル名を表す文字列を指定します。

@see File.lstat...

Shell#lstat(filename) -> File::Stat (9401.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@param filename ファイル名を表す文字列を指定します。

@see File.lstat...

Shell::CommandProcessor#lstat(filename) -> File::Stat (9401.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@param filename ファイル名を表す文字列を指定します。

@see File.lstat...

CGI::HTTP_STATUS -> Hash (9200.0)

HTTP のステータスコードを表すハッシュです。

HTTP のステータスコードを表すハッシュです。

GC.latest_gc_info(result_hash = {}) -> Hash (6324.0)

最新のGCの情報を返します。

...最新のGCの情報を返します。

@param result_hash 戻り値のためのハッシュを指定します。省略した場合は新
しくハッシュを作成します。result_hash の内容は上書き
されます。

@param key 得られる情報か...
...します。

//emlist[例][ruby]{
latest = GC.latest_gc_info
latest # => {:major_by=>nil, :gc_by=>:newobj, :have_finalizer=>false, :immediate_sweep=>false, :state=>:sweeping}

stat
= GC.stat
merged = GC.latest_gc_info(stat)
merged == latest.merge(stat) # => true

GC.latest_gc_info(:gc_by) # => :...

絞り込み条件を変える

static VALUE rb_f_hash(VALUE obj, VALUE arg) (6300.0)

Kernel.#Hash の実体です。

...Kernel.#Hash の実体です。...

static int mark_hashentry(VALUE key, VALUE value) (6300.0)

<< 1 2 3 ... > >>