Sys.Mon.NetBw (Hyper v0.1.0)

Copy Markdown View Source

Monitors instantaneous network bandwidth (the soft beta_net_bw signal).

Samples cumulative rx+tx bytes across physical interfaces from /proc/net/dev every 37 ms and differentiates them into bytes/sec via Controls.Rate (the first read only establishes a baseline). The rate series is smoothed with a 20-second time constant. Readings are Unit.Bandwidth.

Summary

Functions

The latest instantaneous + filtered network bandwidth (Unit.Bandwidth readings).

Functions

value()

@spec value() :: Sys.Mon.Server.Reading.t()

The latest instantaneous + filtered network bandwidth (Unit.Bandwidth readings).