Class: WMI::Win32_PageFileUsage

Inherits:
Base
  • Object
show all
Defined in:
lib/Win32_PageFileUsage.rb

Overview

Win32_PageFileUsage クラスは、Win32 システムにスワップされている仮想メモリを処理するのに使用されるファイルを表します。このクラスからインスタンス化されたオブジェクトに含まれる情報により、ページ ファイルのランタイム状態が指定されます。

注意: Windows XP には SE_CREATE_PAGEFILE_NAME 特権が必要です

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from Base

#AddRef, #AssociatorsAsync_, #Associators_, #Clone_, #CompareTo_, #DeleteAsync_, #Delete_, #Derivation_, #ExecMethodAsync_, #ExecMethod_, #GetIDsOfNames, #GetObjectText_, #GetText_, #GetTypeInfo, #GetTypeInfoCount, #InstancesAsync_, #Instances_, #Invoke, #Methods_, #Path_, #Properties_, #PutAsync_, #Put_, #Qualifiers_, #QueryInterface, #ReferencesAsync_, #References_, #Refresh_, #Release, #Security_, #SetFromText_, #SpawnDerivedClass_, #SpawnInstance_, #SubclassesAsync_, #Subclasses_, #SystemProperties_

Instance Attribute Details

- (uint32) AllocatedBaseSize (readonly)

AllocatedBaseSize プロパティは、このページ ファイル用に割り当てられた実際のディスク領域を示します。

 

Returns:

  • (uint32)

    AllocatedBaseSize



12
13
14
# File 'lib/Win32_PageFileUsage.rb', line 12

def AllocatedBaseSize
  @AllocatedBaseSize
end

- (string) Caption (readonly)

Caption プロパティは、オブジェクトについての簡単な説明 (1 行分の文字列) です。

Returns:

  • (string)

    Caption



17
18
19
# File 'lib/Win32_PageFileUsage.rb', line 17

def Caption
  @Caption
end

- (uint32) CurrentUsage (readonly)

CurrentUsage プロパティは現在使用されている予約されたページ ファイルの総数を示します。

Returns:

  • (uint32)

    CurrentUsage



22
23
24
# File 'lib/Win32_PageFileUsage.rb', line 22

def CurrentUsage
  @CurrentUsage
end

- (string) Description (readonly)

Description プロパティでオブジェクトの説明が提供されます。

Returns:

  • (string)

    Description



28
29
30
# File 'lib/Win32_PageFileUsage.rb', line 28

def Description
  @Description
end

- (datetime) InstallDate (readonly)

InstallDate プロパティは、オブジェクトがインストールされた日時を示す値です。

 

Returns:

  • (datetime)

    InstallDate



34
35
36
# File 'lib/Win32_PageFileUsage.rb', line 34

def InstallDate
  @InstallDate
end

- (string) Name (readonly)

Name プロパティは、ページ ファイルの名前を示します。

 

Returns:

  • (string)

    Name



41
42
43
# File 'lib/Win32_PageFileUsage.rb', line 41

def Name
  @Name
end

- (uint32) PeakUsage (readonly)

PeakUsage プロパティは、最も使用されるページ ファイルを示します。

Returns:

  • (uint32)

    PeakUsage



46
47
48
# File 'lib/Win32_PageFileUsage.rb', line 46

def PeakUsage
  @PeakUsage
end

- (string) Status (readonly)

Status プロパティはオブジェクトの現在の状態を示す文字列です。

 

Returns:

  • (string)

    Status



59
60
61
# File 'lib/Win32_PageFileUsage.rb', line 59

def Status
  @Status
end

- (boolean) TempPageFile (readonly)

通常では現在のコンピュータ システムに恒久ページ ファイルがないので、TempPageFile プロパティにより 、一時ページ ファイルが作成されているかどうか指定されます。

Returns:

  • (boolean)

    TempPageFile



64
65
66
# File 'lib/Win32_PageFileUsage.rb', line 64

def TempPageFile
  @TempPageFile
end