Returns kernel/system statistics read from interface files within the /proc/ /net/dev_snmp6/ directory.
()
| 38 | // Returns kernel/system statistics read from interface files within the /proc/<PID>/net/dev_snmp6/ |
| 39 | // directory. |
| 40 | func (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. |
| 45 | func newNetDevSNMP6(dir string) (NetDevSNMP6, error) { |
nothing calls this directly
no test coverage detected