pub struct HostDiskIo {
pub disk_total: u64,
pub disk_free: u64,
pub part_max_used: i32,
pub reads: u32,
pub bytes_read: u64,
pub read_time: u32,
pub writes: u32,
pub bytes_written: u64,
pub write_time: u32,
}Expand description
Host Disk I/O - Format (0,2005)
Physical server disk I/O statistics
§XDR Definition (sFlow Host)
/* Physical Server Disk I/O */
/* opaque = counter_data; enterprise = 0; format = 2005 */
struct host_disk_io {
unsigned hyper disk_total; /* total disk size in bytes */
unsigned hyper disk_free; /* total disk free in bytes */
percentage part_max_used; /* utilization of most utilized partition */
unsigned int reads; /* reads issued */
unsigned hyper bytes_read; /* bytes read */
unsigned int read_time; /* read time (ms) */
unsigned int writes; /* writes completed */
unsigned hyper bytes_written; /* bytes written */
unsigned int write_time; /* write time (ms) */
}Fields§
§disk_total: u64Total disk capacity in bytes
disk_free: u64Free disk space in bytes
part_max_used: i32Percentage of disk used (in hundredths of a percent, e.g., 100 = 1%)
reads: u32Number of disk reads
bytes_read: u64Bytes read from disk
read_time: u32Read time in milliseconds
writes: u32Number of disk writes
bytes_written: u64Bytes written to disk
write_time: u32Write time in milliseconds
Trait Implementations§
Source§impl Clone for HostDiskIo
impl Clone for HostDiskIo
Source§fn clone(&self) -> HostDiskIo
fn clone(&self) -> HostDiskIo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HostDiskIo
impl Debug for HostDiskIo
Source§impl PartialEq for HostDiskIo
impl PartialEq for HostDiskIo
impl Eq for HostDiskIo
impl StructuralPartialEq for HostDiskIo
Auto Trait Implementations§
impl Freeze for HostDiskIo
impl RefUnwindSafe for HostDiskIo
impl Send for HostDiskIo
impl Sync for HostDiskIo
impl Unpin for HostDiskIo
impl UnwindSafe for HostDiskIo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more