Struct rustcracker::model::balloon_stats::BalloonStatistics
source · pub struct BalloonStatistics {Show 14 fields
pub target_pages: u64,
pub actual_pages: u64,
pub target_mib: u64,
pub actual_mib: u64,
pub swap_in: Option<u64>,
pub swap_out: Option<u64>,
pub major_faults: Option<u64>,
pub minor_faults: Option<u64>,
pub free_memory: Option<u64>,
pub total_memory: Option<u64>,
pub available_memory: Option<u64>,
pub disk_caches: Option<u64>,
pub hugetlb_allocations: Option<u64>,
pub hugetlb_failures: Option<u64>,
}Expand description
Describes the balloon device statistics.
This structure represents the return value requested
by GET /balloon/statistics, which describes detailed
information of the balloon device.
Fields§
§target_pages: u64Target number of pages the device aims to hold. Required: true
actual_pages: u64Actual number of pages the device is holding. Required: true
target_mib: u64Target amount of memory (in MiB) the device aims to hold. Required: true
actual_mib: u64Actual amount of memory (in MiB) the device is holding. Required: true
swap_in: Option<u64>The amount of memory that has been swapped in (in bytes).
swap_out: Option<u64>The amount of memory that has been swapped out to disk (in bytes).
major_faults: Option<u64>The number of major page faults that have occurred.
minor_faults: Option<u64>The number of minor page faults that have occurred.
free_memory: Option<u64>The amount of memory not being used for any purpose (in bytes).
total_memory: Option<u64>The total amount of memory available (in bytes).
available_memory: Option<u64>An estimate of how much memory is available (in bytes) for starting new applications without pushing the system to swap;
disk_caches: Option<u64>The amount of memory, in bytes, that can be quickly reclaimed without additional I/O. Typically these pages are used for caching files from disk.
hugetlb_allocations: Option<u64>The number of successful hugetlb page allocations in the guest.
hugetlb_failures: Option<u64>The number of failed hugetlb page allocations in the guest.
Trait Implementations§
source§impl Clone for BalloonStatistics
impl Clone for BalloonStatistics
source§fn clone(&self) -> BalloonStatistics
fn clone(&self) -> BalloonStatistics
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more