diff --git a/process/process_linux.go b/process/process_linux.go index ae30041..158cb04 100644 --- a/process/process_linux.go +++ b/process/process_linux.go @@ -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 } }