MCPcopy Create free account
hub / github.com/prometheus/procfs / NetDevSNMP6

Method NetDevSNMP6

net_dev_snmp6.go:40–42  ·  view source on GitHub ↗

Returns kernel/system statistics read from interface files within the /proc/ /net/dev_snmp6/ directory.

()

Source from the content-addressed store, hash-verified

38// Returns kernel/system statistics read from interface files within the /proc/<PID>/net/dev_snmp6/
39// directory.
40func (p Proc) NetDevSNMP6() (NetDevSNMP6, error) {
41 return newNetDevSNMP6(p.path("net/dev_snmp6"))
42}
43
44// newNetDevSNMP6 creates a new NetDevSNMP6 from the contents of the given directory.
45func newNetDevSNMP6(dir string) (NetDevSNMP6, error) {

Callers

nothing calls this directly

Calls 2

pathMethod · 0.95
newNetDevSNMP6Function · 0.85

Tested by

no test coverage detected