systeminformation 5.9.3 → 5.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -0
- package/lib/processes.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -80,6 +80,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
|
|
|
80
80
|
|
|
81
81
|
| Version | Date | Comment |
|
|
82
82
|
| -------------- | -------------- | -------- |
|
|
83
|
+
| 5.9.3 | 2021-09-17 | `processes()` fixed memVsz, Memrss (macOS M1) |
|
|
83
84
|
| 5.9.3 | 2021-09-17 | `cpuTemperature()` improved tdie detection (linus) |
|
|
84
85
|
| 5.9.2 | 2021-09-16 | `graohics()` (macOS), `memLayout()` (win) improvements |
|
|
85
86
|
| 5.9.1 | 2021-09-15 | `diskLayout()` fix size (macOS) |
|
package/lib/processes.js
CHANGED
|
@@ -686,7 +686,7 @@ function processes(callback) {
|
|
|
686
686
|
if (_linux || _freebsd || _openbsd || _netbsd || _darwin || _sunos) {
|
|
687
687
|
if (_linux) { cmd = 'export LC_ALL=C; ps -axo pid:11,ppid:11,pcpu:6,pmem:6,pri:5,vsz:11,rss:11,ni:5,lstart:30,state:5,tty:15,user:20,command; unset LC_ALL'; }
|
|
688
688
|
if (_freebsd || _openbsd || _netbsd) { cmd = 'export LC_ALL=C; ps -axo pid,ppid,pcpu,pmem,pri,vsz,rss,ni,lstart,state,tty,user,command; unset LC_ALL'; }
|
|
689
|
-
if (_darwin) { cmd = '
|
|
689
|
+
if (_darwin) { cmd = 'ps -axo pid,ppid,pcpu,pmem,pri,vsz=xxx_fake_title,rss=fake_title2,nice,lstart,state,tty,user,command -r'; }
|
|
690
690
|
if (_sunos) { cmd = 'ps -Ao pid,ppid,pcpu,pmem,pri,vsz,rss,nice,stime,s,tty,user,comm'; }
|
|
691
691
|
exec(cmd, { maxBuffer: 1024 * 20000 }, function (error, stdout) {
|
|
692
692
|
if (!error && stdout.toString().trim()) {
|
package/package.json
CHANGED