Inspector abstraction for read-only access to hypervisors.
Bases: tuple
CPUL3CacheUsageStats(l3_cache_usage,)
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 L3 cache usage for an instance.
Parameters: | instance – the target instance |
---|---|
Returns: | the amount of cpu l3 cache used |
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 , allocation 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 memory bandwidth statistics for an instance.
Parameters: |
|
---|---|
Returns: |
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 |
Inspect the perf events statistics for an instance.
Parameters: |
|
---|---|
Returns: |
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, tx_bytes, rx_packets, tx_packets, rx_drop, tx_drop, rx_errors, tx_errors)
Bases: tuple
MemoryBandwidthStats(total, local)
Bases: tuple
MemoryResidentStats(resident,)
Bases: tuple
MemoryUsageStats(usage,)
Bases: tuple
PerfEventsStats(cpu_cycles, instructions, cache_references, cache_misses)