From 2e31ae10eb2e6bc21dc8917a51bed0ef782821aa Mon Sep 17 00:00:00 2001 From: insanity Date: Mon, 23 Oct 2017 18:10:34 +0900 Subject: [PATCH] ing --- stat/process.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/stat/process.go b/stat/process.go index 8992376..a1c09cb 100644 --- a/stat/process.go +++ b/stat/process.go @@ -32,12 +32,10 @@ func (ps *ProcessStat) Parse(r io.Reader) (*[]ProcessStat, error) { user: parts[0], pid: parts[1], size: parts[2], - pcpu: parts[3], - pmem: parts[4], + pcpu: parts[3], + pmem: parts[4], cmd: parts[5], }) } - return &psStats, scanner.Err() } -