Inspector abstraction for read-only access to hypervisors.
Bases: tuple
CPUStats(number, time)
Bases: tuple
CPUUtilStats(util,)
Bases: tuple
Disk(device,)
Bases: tuple
DiskIOPSStats(iops_count,)
Bases: tuple
DiskInfo(capacity, allocation, physical)
Bases: tuple
DiskLatencyStats(disk_latency,)
Bases: tuple
DiskRateStats(read_bytes_rate, read_requests_rate, write_bytes_rate, write_requests_rate)
Bases: tuple
DiskStats(read_bytes, read_requests, write_bytes, write_requests, errors)
Bases: object
Inspect the CPU Utilization (%) for an instance.
Parameters: |
|
---|---|
Returns: | the percentage of CPU utilization |
Inspect the CPU statistics for an instance.
Parameters: | instance – the target instance |
---|---|
Returns: | the number of CPUs and cumulative CPU time |
Inspect the disk information for an instance.
Parameters: | instance – the target instance |
---|---|
Returns: | for each disk , capacity , alloaction and usage |
Inspect the disk statistics as rates for an instance.
Parameters: | instance – the target instance |
---|---|
Returns: | for each disk, the number of iops per second |
Inspect the disk statistics as rates for an instance.
Parameters: | instance – the target instance |
---|---|
Returns: | for each disk, the average disk latency |
Inspect the disk statistics as rates for an instance.
Parameters: |
|
---|---|
Returns: | for each disk, the number of bytes & operations read and written per second, with the error count |
Inspect the disk statistics for an instance.
Parameters: | instance – the target instance |
---|---|
Returns: | for each disk, the number of bytes & operations read and written, and the error count |
Inspect the resident memory statistics for an instance.
Parameters: |
|
---|---|
Returns: | the amount of resident memory |
Inspect the memory usage statistics for an instance.
Parameters: |
|
---|---|
Returns: | the amount of memory used |
Bases: exceptions.Exception
Bases: tuple
Instance(name, UUID)
Bases: tuple
Interface(name, mac, fref, parameters)
Bases: tuple
InterfaceRateStats(rx_bytes_rate, tx_bytes_rate)
Bases: tuple
InterfaceStats(rx_bytes, rx_packets, tx_bytes, tx_packets)
Bases: tuple
MemoryResidentStats(resident,)
Bases: tuple
MemoryUsageStats(usage,)