ExFacts v0.1.9 ExFacts.System.Net
Handles all logic with regards to collecting metrics on the interfaces of the host.
Direct calls can be made to every function in this module but that is strongly
discouraged. As the surface area of the API grows it suggested that only the
interfaces/0
function is used as the entry point.
interfaces/0
returns a list of ExFacts.System.CPU.InterfaceStat
populated structs.
io-counters/1
returns different structures depending on the value of argument passed in.
Summary
Functions
Returns structs with data on the interfaces of the host. It serves as the main entry
point to the ExFacts.System.net
module
Functions
interfaces() :: [%ExFacts.System.Net.InterfaceStat{addrs: term, flags: term, hardware_addr: term, mtu: term, name: term}]
Returns structs with data on the interfaces of the host. It serves as the main entry
point to the ExFacts.System.net
module.
Mainly a wapper around Erlang :inet.getifaddrs()