Merge pull request #236 from ncabatoff/master

fix incorrect names for fields in proc/pid/io
This commit is contained in:
shirou 2016-07-25 17:59:33 +09:00 committed by GitHub
commit 4d0c402af6
1 changed files with 2 additions and 2 deletions

View File

@ -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
} }
} }