lockDevices() fixed parsing raids (linux)
This commit is contained in:
parent
d81c31ec45
commit
a19d0cfcc7
@ -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.10 | 2023-02-23 | `blockDevices()` fixed parsing raids (linux) |
|
||||||
| 5.17.9 | 2023-02-11 | `system()` fixed model Apple Silicon |
|
| 5.17.9 | 2023-02-11 | `system()` fixed model Apple Silicon |
|
||||||
| 5.17.8 | 2023-01-30 | `system()` improved virtual host detection for Parallels |
|
| 5.17.8 | 2023-01-30 | `system()` improved virtual host detection for Parallels |
|
||||||
| 5.17.7 | 2023-01-29 | `processes()` fixed CPU usage info (windows) |
|
| 5.17.7 | 2023-01-29 | `processes()` fixed CPU usage info (windows) |
|
||||||
|
|||||||
@ -57,6 +57,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">5.17.10</th>
|
||||||
|
<td>2023-02-23</td>
|
||||||
|
<td><span class="code">blockDevices()</span> fixed parsing raids (linux)</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">5.17.9</th>
|
<th scope="row">5.17.9</th>
|
||||||
<td>2023-02-11</td>
|
<td>2023-02-11</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.9</span></div>
|
<div class="version">New Version: <span id="version">5.17.10</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">
|
||||||
@ -212,7 +212,7 @@
|
|||||||
<div class="title">Downloads last month</div>
|
<div class="title">Downloads last month</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xl-4 col-lg-4 col-md-4 col-12">
|
<div class="col-xl-4 col-lg-4 col-md-4 col-12">
|
||||||
<div class="numbers">592</div>
|
<div class="numbers">596</div>
|
||||||
<div class="title">Dependents</div>
|
<div class="title">Dependents</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -384,7 +384,7 @@ function decodeMdabmData(lines) {
|
|||||||
const raid = util.getValue(lines, 'md_level', '=');
|
const raid = util.getValue(lines, 'md_level', '=');
|
||||||
const members = [];
|
const members = [];
|
||||||
lines.forEach(line => {
|
lines.forEach(line => {
|
||||||
if (line.toLowerCase().startsWith('md_device_ev') && line.toLowerCase().indexOf('/dev/') > 0) {
|
if (line.toLowerCase().startsWith('md_device_dev') && line.toLowerCase().indexOf('/dev/') > 0) {
|
||||||
members.push(line.split('/dev/')[1]);
|
members.push(line.split('/dev/')[1]);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user