add arg to NetIOCounters but not implemented yet.
This commit is contained in:
parent
d8b87abfaf
commit
218eebabc8
|
@ -6,7 +6,7 @@ import (
|
|||
"strings"
|
||||
)
|
||||
|
||||
func NetIOCounters() ([]NetIOCountersStat, error) {
|
||||
func NetIOCounters(pernic bool) ([]NetIOCountersStat, error) {
|
||||
filename := "/proc/net/dev"
|
||||
lines, err := readLines(filename)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue