提交 218eebab 编写于 作者: S Shirou WAKAYAMA

add arg to NetIOCounters but not implemented yet.

上级 d8b87abf
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册