Module Munin_sys.Net
Network I/O statistics.
type t = {bytes_rx : int64;(*Total bytes received.
*)packets_rx : int64;(*Total packets received.
*)bytes_tx : int64;(*Total bytes transmitted.
*)packets_tx : int64;(*Total packets transmitted.
*)
}Cumulative network I/O counters since boot.
Aggregates all network interfaces except loopback. Counters are cumulative and monotonically increasing (until system reboot or counter overflow).
type stats = {rx_bytes_per_sec : float;(*Receive rate in bytes per second.
*)rx_packets_per_sec : float;(*Receive rate in packets per second.
*)tx_bytes_per_sec : float;(*Transmit rate in bytes per second.
*)tx_packets_per_sec : float;(*Transmit rate in packets per second.
*)
}Network I/O rates computed between two samples.
val sample : unit -> tsample () returns cumulative network I/O counters.