Home | Trees | Indices | Help |
|
---|
|
object --+ | _Handle --+ | Statistics
Provides methods for obtaining performance statistics for the host computer or an individual virtual machine. To obtain the Statistics object for the host computer, use the Server.get_statistics method. To obtain the Statistics object for a virtual machine, use the Vm.get_statistics method.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
Return total RAM size in bytes.
|
Return the size of RAM currently in use, in bytes.
|
Return free RAM size in bytes.
|
Return the virtual machine uptime in seconds. The virtual machine uptime is counted from the date the counter was started. The date can be determined using the VmConfig.get_uptime_start_date method.
|
Return the number of StatCpu objects contained in this Statistics object. Each StatCpu object contains statistics for an individual CPU. Use the number returned to iterate through the object list and obtain individual objects using the Statistics.get_cpu_stat method.
|
Return a StatCpu object specified by an index. To obtain the total number of object in the list, use the Statistics.get_cpus_stats_count method.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Apr 17 17:00:26 2017 | http://epydoc.sourceforge.net |