mirror of
https://github.com/shirou/gopsutil.git
synced 2025-05-10 19:29:14 +08:00
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…
x
Reference in New Issue
Block a user