fix incorrect names for fields in proc/pid/io

pull/236/head
Nick Cabatoff 9 years ago
parent ee66bc560c
commit 28640e5d73

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

Loading…
Cancel
Save