pub struct DriveWrites {
pub device: String,
pub watched: u64,
pub written: u64,
pub shares: DriveShares,
pub commits: Option<Commits>,
pub store: Option<String>,
}Expand description
What the disks under Docker’s root wrote while the daemon read them in a window: from /sys/class/block, the
runner slice’s io.stat, which keeps what its containers wrote after they are gone, the daemon’s own
/proc/self/io, and btrfs’s commit count.
Fields§
§device: StringThe disks: nvme2n1.
watched: u64Seconds the daemon read them.
written: u64Bytes they wrote then.
Whose those bytes were.
commits: Option<Commits>btrfs transaction commits; None on another file system.
store: Option<String>The loop devices Docker’s root is on when it is a file system in a file on the disks: loop0. Jobs’ and the
runner slice’s figures are then bytes written to that file system, which the disks write with its journal
and the overhead of the file system under it.
Implementations§
Source§impl DriveWrites
impl DriveWrites
Sourcepub fn lines(&self) -> Vec<String>
pub fn lines(&self) -> Vec<String>
Them in lines: what the drive wrote and its daily rate; what the figures count when Docker’s root is in a file on it; whose it was, runner jobs’, the rest of the runner slice’s, runnerd’s own and the share no one in runnerd owns, unless it wrote nothing over the shares; and btrfs’s commits a second.
Trait Implementations§
Source§impl Clone for DriveWrites
impl Clone for DriveWrites
Source§impl Debug for DriveWrites
impl Debug for DriveWrites
Source§impl<'de> Deserialize<'de> for DriveWrites
impl<'de> Deserialize<'de> for DriveWrites
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for DriveWrites
Source§impl PartialEq for DriveWrites
impl PartialEq for DriveWrites
Source§impl Serialize for DriveWrites
impl Serialize for DriveWrites
impl StructuralPartialEq for DriveWrites
Auto Trait Implementations§
impl Forget for DriveWrites
impl Freeze for DriveWrites
impl Move for DriveWrites
impl RefUnwindSafe for DriveWrites
impl Send for DriveWrites
impl Sync for DriveWrites
impl Unpin for DriveWrites
impl UnsafeUnpin for DriveWrites
impl UnwindSafe for DriveWrites
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.