pub struct NFSOperationStat {
pub operations: u64,
pub transmissions: u64,
pub major_timeouts: u64,
pub bytes_sent: u64,
pub bytes_recv: u64,
pub cum_queue_time: Duration,
pub cum_resp_time: Duration,
pub cum_total_req_time: Duration,
}
Expand description
Represents NFS data from /proc/<pid>/mountstats
under the section of per-op statistics
.
Here is what the Kernel says about the attributes:
Regarding operations
, transmissions
and major_timeouts
:
These counters give an idea about how many request transmissions are required, on average, to complete that particular procedure. Some procedures may require more than one transmission because the server is unresponsive, the client is retransmitting too aggressively, or the requests are large and the network is congested.
Regarding bytes_sent
and bytes_recv
:
These count how many bytes are sent and received for a given RPC procedure type. This indicates how much load a particular procedure is putting on the network. These counts include the RPC and ULP headers, and the request payload.
Regarding cum_queue_time
, cum_resp_time
and cum_total_req_time
:
The length of time an RPC request waits in queue before transmission, the network + server latency of the request, and the total time the request spent from init to release are measured.
(source: include/linux/sunrpc/metrics.h struct rpc_iostats
)
Fields§
§operations: u64
Count of rpc operations.
transmissions: u64
Count of rpc transmissions
major_timeouts: u64
Count of rpc major timeouts
bytes_sent: u64
Count of bytes send. Does not only include the RPC payload but the RPC headers as well.
bytes_recv: u64
Count of bytes received as bytes_sent
.
cum_queue_time: Duration
How long all requests have spend in the queue before being send.
cum_resp_time: Duration
How long it took to get a response back.
cum_total_req_time: Duration
How long all requests have taken from beeing queued to the point they where completely handled.
Trait Implementations§
source§impl Clone for NFSOperationStat
impl Clone for NFSOperationStat
source§fn clone(&self) -> NFSOperationStat
fn clone(&self) -> NFSOperationStat
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NFSOperationStat
impl Debug for NFSOperationStat
source§impl<'de> Deserialize<'de> for NFSOperationStat
impl<'de> Deserialize<'de> for NFSOperationStat
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>,
Auto Trait Implementations§
impl Freeze for NFSOperationStat
impl RefUnwindSafe for NFSOperationStat
impl Send for NFSOperationStat
impl Sync for NFSOperationStat
impl Unpin for NFSOperationStat
impl UnwindSafe for NFSOperationStat
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)