processLoad() fix pid (linux)
This commit is contained in:
+1
-1
@@ -1169,7 +1169,7 @@ function processLoad(proc, callback) {
|
||||
if (listPos < 0) {
|
||||
result.push({
|
||||
proc: name,
|
||||
pid: item.ppid < 10 ? item.pid : null,
|
||||
pid: item.pid,
|
||||
pids: [item.pid],
|
||||
cpu: item.cpu,
|
||||
mem: item.mem
|
||||
|
||||
Reference in New Issue
Block a user