add arg to NetIOCounters but not implemented yet.

pull/4/head
Shirou WAKAYAMA 11 years ago
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…
Cancel
Save