pg_operatingsystem20.mof

来自「Pegasus is an open-source implementation」· MOF 代码 · 共 378 行 · 第 1/2 页

MOF
378
字号
               "PalmPilot", "Rhapsody", "Windows 2000", "Dedicated",               "OS/390", "VSE", "TPF","Windows (R) Me",                "Caldera Open UNIX", "OpenBSD"},       ModelCorrespondence {        "CIM_OperatingSystem.OtherTypeDescription"}]   uint16 OSType;      [Description (        "A string describing the manufacturer and OperatingSystem "        "type - used when the OperatingSystem property, OSType, is "        "set to 1 or 59 (\"Other\" or \"Dedicated\"). The format of "        "the string inserted in OtherTypeDescription should be "        "similar in format to the Values strings defined for OSType. "        "OtherTypeDescription should be set to NULL when OSType is "        "any value other than 1 or 59."),       MaxLen (64),       ModelCorrespondence {"CIM_OperatingSystem.OSType"}]   string OtherTypeDescription;      [Description(        "A string describing the Operating System's version "        "number. The format of the version information is as follows: "        "<Major Number>.<Minor Number>.<Revision> or "        "<Major Number>.<Minor Number>.<Revision Letter>."),       MappingStrings {"MIF.DMTF|Operating System|001.3"}]   string Version;      [Description ("Time when the OperatingSystem was last booted."),       MappingStrings {"MIF.DMTF|General Information|001.5"}]   datetime LastBootUpTime;       [Description (        "OperatingSystem's notion of the local date and time of day."),       MappingStrings {"MIB.IETF|HOST-RESOURCES-MIB.hrSystemDate",        "MIF.DMTF|General Information|001.6"}]   datetime LocalDateTime;      [Description (        "CurrentTimeZone indicates the number of minutes the "        "OperatingSystem is offset from Greenwich Mean Time. "        "Either the number is positive, negative or zero."),       Units("Minutes") ]   sint16 CurrentTimeZone;      [Description (       "Number of user licenses for the OperatingSystem. "       "If unlimited, enter 0.") ]   uint32 NumberOfLicensedUsers;      [Description (        "Number of user sessions for which the OperatingSystem is "        "currently storing state information."), Gauge,       MappingStrings {"MIF.DMTF|Host System|001.4",        "MIB.IETF|HOST-RESOURCES-MIB.hrSystemNumUsers"} ]   uint32  NumberOfUsers;      [Description (        "Number of process contexts currently loaded or running on "        "the OperatingSystem."), Gauge,        MappingStrings {"MIF.DMTF|Host System|001.5",        "MIB.IETF|HOST-RESOURCES-MIB.hrSystemProcesses"} ]   uint32 NumberOfProcesses;      [Description (        "Maximum number of process contexts the OperatingSystem can "        "support. If there is no fixed maximum, the value should be 0."        "On systems that have a fixed maximum, this object can help "        "diagnose failures that occur when the maximum is reached."),        MappingStrings {"MIF.DMTF|Host System|001.6",        "MIB.IETF|HOST-RESOURCES-MIB.hrSystemMaxProcesses"} ]   uint32 MaxNumberOfProcesses;      [Description (        "Total swap space in Kbytes. This value may be "        "NULL (unspecified) if swap space is not distinguished from "        "page files.  However, some Operating Systems distinguish "        "these concepts.  For example, in UNIX, whole processes can "        "be 'swapped out' when the free page list falls and remains "        "below a specified amount."),       Units("KiloBytes") ]   uint64 TotalSwapSpaceSize;      [Description (        "Number of Kbytes of virtual memory. For example, "        "this may be calculated by adding the amount of total RAM to "        "the amount of paging space (ie, adding the amount of "        "memory in/aggregated by the ComputerSystem to the property, "        "SizeStoredInPagingFiles."),       Units("KiloBytes"),       MappingStrings {"MIF.DMTF|System Memory Settings|001.5"}]   uint64 TotalVirtualMemorySize;      [Gauge, Description (        "Number of Kbytes of virtual memory currently unused and "        "available. For example, this may be calculated by adding "        "the amount of free RAM to the amount of free paging space "        "(ie, adding the properties, FreePhysicalMemory and FreeSpace"        "InPagingFiles)."),       Units("KiloBytes"),        MappingStrings {"MIF.DMTF|System Memory Settings|001.6"}]   uint64 FreeVirtualMemory;      [Gauge, Description (        "Number of Kbytes of physical memory currently unused and "        "available."),       Units("KiloBytes"),       MappingStrings{"MIF.DMTF|System Memory Settings|001.2",         "MIF.UNIX|Host Physical Memory|6.1"} ]    uint64 FreePhysicalMemory;      [Description (        "The total amount of physical memory (in Kbytes) available "        "to the OperatingSystem. This value does not necessarily "        "indicate the true amount of physical memory, but what is "        "reported to the OperatingSystem as available to it."),       Units("KiloBytes") ]   uint64 TotalVisibleMemorySize;      [Description (        "The total number of KBytes that can be stored in the "        "OperatingSystem's paging files. 0 indicates that there "        "are no paging files."),       Units("KiloBytes"),       MappingStrings {"MIF.DMTF|System Memory Settings|001.3"}]   uint64 SizeStoredInPagingFiles;      [Gauge, Description (        "The total number of KBytes that can be mapped into the "        "OperatingSystem's paging files without causing any other "        "pages to be swapped out. 0 indicates that there are no "        "paging files."),       Units("KiloBytes"),       MappingStrings {"MIF.DMTF|System Memory Settings|001.4"}]   uint64 FreeSpaceInPagingFiles;      [Description (        "Maximum number of Kbytes of memory that can be allocated "        "to a Process. For Operating Systems with no virtual memory, "        "this value is typically equal to the total amount of "        "physical Memory minus memory used by the BIOS and OS. For "        "some Operating Systems, this value may be infinity - in "        "which case, 0 should be entered. In other cases, this value "        "could be a constant - for example, 2G or 4G."),       Units("KiloBytes") ]   uint64 MaxProcessMemorySize;      [Description (        "Boolean indicating whether the OperatingSystem is "        "distributed across several ComputerSystem nodes. If so, "        "these nodes should be grouped as a Cluster.") ]   boolean Distributed;      [Description (        "A value that indicates the maximum processes that a user "        "can have associate with it.") ]   uint32  MaxProcessesPerUser;      [Description (        "Requests a reboot of the OperatingSystem. The return value "        "should be 0 if the request was successfully executed, "        "1 if the request is not supported and some other value "        "if an error occurred. In a subclass, the set of possible "        "return codes could be specified, using a ValueMap qualifier "        "on the method. The strings to which the ValueMap contents "        "are 'translated' may also be specified in the subclass as "        "a Values array qualifier.") ]   uint32 Reboot();      [Description (        "Requests a shutdown of the OperatingSystem. The return "        "value should be 0 if the request was successfully executed, "        "1 if the request is not supported and some other value if "        "an error occurred. It is up to the implementation or subclass "        "of OperatingSystem to establish dependencies between "        "the Shutdown and Reboot methods, and for example, to provide "        "more sophisticated capabilities such as scheduled shutdown/"        "reboot, etc. In a subclass, the set of possible return "        "codes could be specified, using a ValueMap qualifier on "        "the method. The strings to which the ValueMap contents are "        "'translated' may also be specified in the subclass as a "        "Values array qualifier.") ]   uint32 Shutdown();};// ==========================================================================// End of Copyright 1998-2003 Distributed Management Task Force, Inc. (DMTF).// ==========================================================================// ===================================================================// PG_OperatingSystem// ===================================================================   [Version ("2.2.0"), Description (     "An extension of CIM_OperatingSystem which adds information "     "not contained in the superclass.")] class PG_OperatingSystem	: CIM_OperatingSystem{    [Description (         "The capability of this operating system. "         "One capability is '32 bit' or '64 bit'. ")    ]    string OperatingSystemCapability;    [Description (         "The elapsed time, in seconds, since the OS was booted."         "A convenience property, versus having to calculate"         "the time delta from LastBootUpTime to LocalDateTime.")    ]    uint64 SystemUpTime ;};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?