diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d55682..b45b46a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -81,6 +81,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page. | Version | Date | Comment | | ------- | ---------- | --------------------------------------------------------------------------------------------------- | +| 5.13.1 | 2022-11-17 | `processLoag()` fix main pid (linux) | | 5.13.0 | 2022-11-17 | `networkConnections()` addedd process name (mac OS) | | 5.12.15 | 2022-11-16 | `networkConnections()` adapted parsing to reflect also UDP (mac OS) | | 5.12.14 | 2022-11-11 | restored `powershell` compatibility for version 7.3 (windows) | diff --git a/docs/history.html b/docs/history.html index 3099768..ea0fcdf 100644 --- a/docs/history.html +++ b/docs/history.html @@ -57,6 +57,11 @@ + + 5.13.1 + 2022-11-17 + processLoad() fix main pid (linux) + 5.13.0 2022-11-17 diff --git a/docs/index.html b/docs/index.html index 1ec3300..63573c8 100644 --- a/docs/index.html +++ b/docs/index.html @@ -170,7 +170,7 @@
systeminformation
 
-
New Version: 5.13.0
+
New Version: 5.13.1
diff --git a/lib/processes.js b/lib/processes.js index f90a81d..a5879a3 100644 --- a/lib/processes.js +++ b/lib/processes.js @@ -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