[][src]Struct procfs::NFSOperationStat

pub struct NFSOperationStat {
    pub operations: c_ulong,
    pub transmissions: c_ulong,
    pub major_timeouts: c_ulong,
    pub bytes_sent: c_ulonglong,
    pub bytes_recv: c_ulonglong,
    pub cum_queue_time: Duration,
    pub cum_resp_time: Duration,
    pub cum_total_req_time: Duration,
}

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: c_ulong

Count of rpc operations.

transmissions: c_ulong

Count of rpc transmissions

major_timeouts: c_ulong

Count of rpc major timeouts

bytes_sent: c_ulonglong

Count of bytes send. Does not only include the RPC payload but the RPC headers as well.

bytes_recv: c_ulonglong

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

impl Clone for NFSOperationStat[src]

impl Debug for NFSOperationStat[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]