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§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.