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
|
||||
case "syscw":
|
||||
ret.WriteCount = t
|
||||
case "readBytes":
|
||||
case "read_bytes":
|
||||
ret.ReadBytes = t
|
||||
case "writeBytes":
|
||||
case "write_bytes":
|
||||
ret.WriteBytes = t
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue