cpu() virtualization fix (mac OS)
This commit is contained in:
parent
ab2f0ca14d
commit
bacc87f01d
@ -80,6 +80,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
|
||||
|
||||
| Version | Date | Comment |
|
||||
| -------------- | -------------- | -------- |
|
||||
| 5.12.5 | 2022-08-11 | `cpu()` virtualization fix (mac OS) |
|
||||
| 5.12.4 | 2022-08-09 | `cpuTemperature()` fix main (linux) |
|
||||
| 5.12.3 | 2022-08-04 | `networkInterfaces()` operstate fix (mac OS) |
|
||||
| 5.12.2 | 2022-08-01 | `services()` Ubuntu 22.04 fix |
|
||||
|
||||
@ -574,12 +574,12 @@ si.cpuCurrentSpeed().then(data => console.log(data));</code></pre class="example
|
||||
si.cpuTemperature().then(data => console.log(data));</code></pre class="example">
|
||||
<pre class="example">
|
||||
{
|
||||
main: 42,
|
||||
main: 34,
|
||||
cores: [
|
||||
34, 35, 33, 32,
|
||||
37, 32, 35, 33
|
||||
],
|
||||
max: 42,
|
||||
max: 37,
|
||||
socket: [ 16.8, 27.8 ],
|
||||
chipset: 49
|
||||
}
|
||||
|
||||
@ -57,6 +57,11 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">5.12.5</th>
|
||||
<td>2022-08-11</td>
|
||||
<td><span class="code">cpu()</span> virtualization fix (mac OS)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">5.12.4</th>
|
||||
<td>2022-08-09</td>
|
||||
|
||||
@ -170,7 +170,7 @@
|
||||
<img class="logo" src="assets/logo.png">
|
||||
<div class="title">systeminformation</div>
|
||||
<div class="subtitle"><span id="typed"></span> </div>
|
||||
<div class="version">New Version: <span id="version">5.12.4</span></div>
|
||||
<div class="version">New Version: <span id="version">5.12.5</span></div>
|
||||
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
|
||||
</div>
|
||||
<div class="down">
|
||||
@ -214,7 +214,7 @@
|
||||
<div class="title">Downloads last month</div>
|
||||
</div>
|
||||
<div class="col-xl-4 col-lg-4 col-md-4 col-12">
|
||||
<div class="numbers">557</div>
|
||||
<div class="numbers">558</div>
|
||||
<div class="title">Dependents</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -645,6 +645,7 @@ function getCpu() {
|
||||
result.family = util.getValue(lines, 'machdep.cpu.family') || util.getValue(lines, 'hw.cpufamily');
|
||||
result.model = util.getValue(lines, 'machdep.cpu.model');
|
||||
result.stepping = util.getValue(lines, 'machdep.cpu.stepping') || util.getValue(lines, 'hw.cpusubfamily');
|
||||
result.virtualization = true;
|
||||
const countProcessors = util.getValue(lines, 'hw.packages');
|
||||
const countCores = util.getValue(lines, 'hw.physicalcpu_max');
|
||||
const countThreads = util.getValue(lines, 'hw.ncpu');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user