Merge pull request #236 from ncabatoff/master
fix incorrect names for fields in proc/pid/io
This commit is contained in:
commit
4d0c402af6
|
@ -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…
Reference in New Issue