processes() fixed CPU usage info (windows)
This commit is contained in:
parent
27039b5de0
commit
c1f8b65aaa
@ -82,6 +82,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
|
|||||||
|
|
||||||
| Version | Date | Comment |
|
| Version | Date | Comment |
|
||||||
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
|
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
|
||||||
|
| 5.17.7 | 2023-01-29 | `processes()` fixed CPU usage info (windows) |
|
||||||
| 5.17.6 | 2023-01-29 | `processes()` fixed Node Version 8 compatibility issue |
|
| 5.17.6 | 2023-01-29 | `processes()` fixed Node Version 8 compatibility issue |
|
||||||
| 5.17.5 | 2023-01-29 | `processes()` improved parsing of all services (linux) |
|
| 5.17.5 | 2023-01-29 | `processes()` improved parsing of all services (linux) |
|
||||||
| 5.17.4 | 2023-01-24 | `networkInterfaces()` sanitizing networkInterfaces device names |
|
| 5.17.4 | 2023-01-24 | `networkInterfaces()` sanitizing networkInterfaces device names |
|
||||||
|
|||||||
@ -57,6 +57,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">5.17.7</th>
|
||||||
|
<td>2023-01-29</td>
|
||||||
|
<td><span class="code">processes()</span> fixed CPU usage info (windows)</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">5.17.6</th>
|
<th scope="row">5.17.6</th>
|
||||||
<td>2023-01-29</td>
|
<td>2023-01-29</td>
|
||||||
|
|||||||
@ -170,7 +170,7 @@
|
|||||||
<img class="logo" src="assets/logo.png" alt="logo">
|
<img class="logo" src="assets/logo.png" alt="logo">
|
||||||
<div class="title">systeminformation</div>
|
<div class="title">systeminformation</div>
|
||||||
<div class="subtitle"><span id="typed"></span> </div>
|
<div class="subtitle"><span id="typed"></span> </div>
|
||||||
<div class="version">New Version: <span id="version">5.17.6</span></div>
|
<div class="version">New Version: <span id="version">5.17.7</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>
|
<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>
|
||||||
<div class="down">
|
<div class="down">
|
||||||
|
|||||||
@ -496,8 +496,8 @@ function calcProcStatWin(procStat, all, _cpu_old) {
|
|||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
pid: procStat.pid,
|
pid: procStat.pid,
|
||||||
utime: cpuu > 0 ? procStat.utime : 0,
|
utime: procStat.utime,
|
||||||
stime: cpus > 0 ? procStat.stime : 0,
|
stime: procStat.stime,
|
||||||
cpuu: cpuu > 0 ? cpuu : 0,
|
cpuu: cpuu > 0 ? cpuu : 0,
|
||||||
cpus: cpus > 0 ? cpus : 0
|
cpus: cpus > 0 ? cpus : 0
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user