diff --git a/CHANGELOG.md b/CHANGELOG.md
index 82eb9f9..2752268 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -47,10 +47,13 @@ We had to make **several interface changes** to keep systeminformation as consis
- `cpu()`: added virtualization if cpu supports virtualization
- `cpu()`: now flags are part of this function
- `cpuTemperature()` added added socket and chipset temp (linux)
+- `disksIO()` added wait time (linux)
- `diskLayout()`: added USB drives (mac OS)
+- `diskLayout()`: added S.M.R.R.T. (win)
- `fsSize()`: added available
- `fsSize()`: improved calculation of used
- `getData()`: support for passing parameters and filters (see section General / getData)
+- `graphics()`: extended properties (mac OS)
- `graphics()`: extended nvidia-smi parsing
- `networkInterfaces()`: type detection improved (win - wireless)
- `memLayout()`: extended manufacturer list (decoding)
@@ -77,6 +80,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment |
| -------------- | -------------- | -------- |
+| 5.9.3 | 2021-09-17 | `cpuTemperature()` improved tdie detection (linus) |
| 5.9.2 | 2021-09-16 | `graohics()` (macOS), `memLayout()` (win) improvements |
| 5.9.1 | 2021-09-15 | `diskLayout()` fix size (macOS) |
| 5.9.0 | 2021-09-15 | `graphics()` new XML parser, added properties (macOS) |
diff --git a/docs/changes.html b/docs/changes.html
index 2994ad8..c57f7e4 100644
--- a/docs/changes.html
+++ b/docs/changes.html
@@ -178,6 +178,7 @@
fsSize(): added available
fsSize(): improved calculation of used
getData(): support for passing parameters and filters (see section General / getData)
+ graphics(): extended properties macOS
graphics(): extended nvidia-smi parsing
networkInterfaces(): type detection improved (win - wireless)
memLayout(): extended manufacturer list (decoding)
diff --git a/docs/history.html b/docs/history.html
index b4a097f..dce3c15 100644
--- a/docs/history.html
+++ b/docs/history.html
@@ -56,6 +56,11 @@
+
+ | 5.9.3 |
+ 2021-09-17 |
+ cpuTemperature() improvement tdie detection (linux) |
+
| 5.9.2 |
2021-09-16 |
diff --git a/docs/index.html b/docs/index.html
index baf18d4..4535224 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -170,7 +170,7 @@
systeminformation
- New Version: 5.9.2
+ New Version: 5.9.3
@@ -203,7 +203,7 @@
-
14,629
+
14,645
Lines of code
diff --git a/lib/cpu.js b/lib/cpu.js
index ea44cbd..4e07478 100644
--- a/lib/cpu.js
+++ b/lib/cpu.js
@@ -967,7 +967,12 @@ function cpuTemperature(callback) {
const cmd = 'for mon in /sys/class/hwmon/hwmon*; do for label in "$mon"/temp*_label; do if [ -f $label ]; then value=$(echo $label | rev | cut -c 7- | rev)_input; if [ -f "$value" ]; then echo $(cat "$label")___$(cat "$value"); fi; fi; done; done;';
try {
exec(cmd, function (error, stdout) {
- let lines = stdout.toString().split('\n');
+ stdout = stdout.toString();
+ const tdiePos = stdout.toLowerCase().indexOf('tdie');
+ if (tdiePos !== -1) {
+ stdout = stdout.substring(tdiePos);
+ }
+ let lines = stdout.split('\n');
lines.forEach(line => {
const parts = line.split('___');
const label = parts[0];