Struct procfs::process::MountNFSStatistics [−][src]
pub struct MountNFSStatistics {
pub version: String,
pub opts: Vec<String>,
pub age: Duration,
pub caps: Vec<String>,
pub sec: Vec<String>,
pub events: NFSEventCounter,
pub bytes: NFSByteCounter,
pub per_op_stats: NFSPerOpStats,
}
Expand description
Only NFS mounts provide additional statistics in MountStat
entries.
Fields
version: String
The version of the NFS statistics block. Either “1.0” or “1.1”.
opts: Vec<String>
The mount options.
The meaning of these can be found in the manual pages for mount(5) and nfs(5)
age: Duration
Duration the NFS mount has been in existence.
caps: Vec<String>
NFS Capabilities.
See include/linux/nfs_fs_sb.h
Some known values:
- caps: server capabilities. See NFSServerCaps.
- wtmult: server disk block size
- dtsize: readdir size
- bsize: server block size
sec: Vec<String>
events: NFSEventCounter
bytes: NFSByteCounter
per_op_stats: NFSPerOpStats
Implementations
Attempts to parse the caps= value from the caps field.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MountNFSStatistics
impl Send for MountNFSStatistics
impl Sync for MountNFSStatistics
impl Unpin for MountNFSStatistics
impl UnwindSafe for MountNFSStatistics
Blanket Implementations
Mutably borrows from an owned value. Read more