mirror of https://github.com/shirou/gopsutil
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
addresses a few things: - Windows has a concept of both a network "interface" and an "adapter" - These are almost always a one-to-one relationship, though there can be esoteric instances where they are not. - I believe the gopsutil NetIOCounters function should only return on a per-interface level, since this is the behavior on linux/darwin. Previously, the plugin was basically ignoring the actual interfaces returned from net.Interfaces(). Instead, it was looping over the net adapters for each interface, somewhat uselessly. FWIW, the code for getAdapterList() doesn't exist in the Go standard lib anymore. closes #245 |
9 years ago | |
---|---|---|
.. | ||
net.go | 9 years ago | |
net_darwin.go | 9 years ago | |
net_darwin_test.go | 9 years ago | |
net_fallback.go | 9 years ago | |
net_freebsd.go | 9 years ago | |
net_linux.go | 9 years ago | |
net_linux_test.go | 9 years ago | |
net_test.go | 9 years ago | |
net_unix.go | 9 years ago | |
net_windows.go | 9 years ago |