currentLoad() added steal and guest time (linux)

This commit is contained in:
Sebastian Hildebrandt
2023-08-22 16:23:12 +02:00
parent e3dc1bfec5
commit 0701635c28
7 changed files with 53 additions and 7 deletions
+5
View File
@@ -57,6 +57,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">5.19.0</th>
<td>2023-08-22</td>
<td><span class="code">currentLoad()</span> new properties steal and guest time (linux)</td>
</tr>
<tr>
<th scope="row">5.18.15</th>
<td>2023-08-10</td>
+3 -3
View File
@@ -170,7 +170,7 @@
<img class="logo" src="assets/logo.png" alt="logo">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version">New Version: <span id="version">5.18.15</span></div>
<div class="version">New Version: <span id="version">5.19.0</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">
@@ -204,7 +204,7 @@
</div>
<div class="row number-section">
<div class="col-xl-4 col-lg-4 col-md-4 col-12">
<div class="numbers">15,577</div>
<div class="numbers">15,642</div>
<div class="title">Lines of code</div>
</div>
<div class="col-xl-4 col-lg-4 col-md-4 col-12">
@@ -212,7 +212,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">637</div>
<div class="numbers">642</div>
<div class="title">Dependents</div>
</div>
</div>
+28 -2
View File
@@ -145,7 +145,27 @@
<td>X</td>
<td>X</td>
<td>X</td>
<td>CPU load system in %</td>
<td>CPU load hardware interrupts in %</td>
</tr>
<tr>
<td></td>
<td>currentLoadSteal</td>
<td>X</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>Time stolen by other OS running in VMs in %</td>
</tr>
<tr>
<td></td>
<td>currentLoadGuest</td>
<td>X</td>
<td></td>
<td>X</td>
<td>X</td>
<td>X</td>
<td>Time spent for running virtual CPU in %</td>
</tr>
<tr>
<td></td>
@@ -188,6 +208,8 @@ si.currentLoad().then(data => console.log(data));</code></pre class="example">
rawCurrentLoadNice: 0,
rawCurrentLoadIdle: 7740,
rawCurrentLoadIrq: 0,
rawCurrentLoadSteal: 0,
rawCurrentLoadGuest: 0,
cpus: [
{
load: 13.725490196078432,
@@ -196,12 +218,16 @@ si.currentLoad().then(data => console.log(data));</code></pre class="example">
loadNice: 0,
loadIdle: 86.27450980392157,
loadIrq: 0,
loadSteal: 0,
loadGuest: 0,
rawLoad: 140,
rawLoadUser: 80,
rawLoadSystem: 60,
rawLoadNice: 0,
rawLoadIdle: 880,
rawLoadIrq: 0
rawLoadSteal: 0
rawLoadGuest: 0
},
...
]
@@ -769,4 +795,4 @@ si.services('mysql, postgres').then(data => console.log(data));</code></pre clas
</script>
</body>
</html>
</html>