Struct procfs::process::NFSOperationStat[][src]

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,
}
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: 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

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.