Merge pull request #236 from ncabatoff/master

fix incorrect names for fields in proc/pid/io
pull/238/head
shirou 9 years ago committed by GitHub
commit 4d0c402af6

@ -527,9 +527,9 @@ func (p *Process) fillFromIO() (*IOCountersStat, error) {
ret.ReadCount = t
case "syscw":
ret.WriteCount = t
case "readBytes":
case "read_bytes":
ret.ReadBytes = t
case "writeBytes":
case "write_bytes":
ret.WriteBytes = t
}
}

Loading…
Cancel
Save