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

Method NetDevSNMP6

net_dev_snmp6.go:34–36  ·  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

32// Returns kernel/system statistics read from interface files within the /proc/net/dev_snmp6/
33// directory.
34func (fs FS) NetDevSNMP6() (NetDevSNMP6, error) {
35 return newNetDevSNMP6(fs.proc.Path("net/dev_snmp6"))
36}
37
38// Returns kernel/system statistics read from interface files within the /proc/<PID>/net/dev_snmp6/
39// directory.

Callers 2

TestNetDevSNMP6Function · 0.95
TestProcNetDevSNMP6Function · 0.45

Calls 2

newNetDevSNMP6Function · 0.85
PathMethod · 0.45

Tested by 2

TestNetDevSNMP6Function · 0.76
TestProcNetDevSNMP6Function · 0.36