networkStats() fixed packages dropped (linux)

This commit is contained in:
Sebastian Hildebrandt 2020-08-25 10:36:49 +02:00
parent 63aeb80b7b
commit 04c1cbf881
4 changed files with 8 additions and 2 deletions

View File

@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page.
| Version | Date | Comment | | Version | Date | Comment |
| -------------- | -------------- | -------- | | -------------- | -------------- | -------- |
| 4.27.1 | 2020-08-25 | `networkStats()` fixed packages dropped (linux) |
| 4.27.0 | 2020-08-24 | `observe()` added function to observe/watch system parameters | | 4.27.0 | 2020-08-24 | `observe()` added function to observe/watch system parameters |
| 4.26.12 | 2020-08-21 | `versions()` fixed issue windows | | 4.26.12 | 2020-08-21 | `versions()` fixed issue windows |
| 4.26.11 | 2020-08-20 | `cpuTemperature()` fixed issue windows | | 4.26.11 | 2020-08-20 | `cpuTemperature()` fixed issue windows |

View File

@ -83,6 +83,11 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr>
<th scope="row">4.27.1</th>
<td>2020-08-25</td>
<td><span class="code">networkStats()</span> fixed packages dropped (linux)</td>
</tr>
<tr> <tr>
<th scope="row">4.27.0</th> <th scope="row">4.27.0</th>
<td>2020-08-24</td> <td>2020-08-24</td>

View File

@ -168,7 +168,7 @@
<img class="logo" src="assets/logo.png"> <img class="logo" src="assets/logo.png">
<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">Current Version: <span id="version">4.27.0</span></div> <div class="version">Current Version: <span id="version">4.27.1</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">

View File

@ -1072,7 +1072,7 @@ function networkStatsSingle(iface) {
'cat /sys/class/net/' + ifaceSanitized + '/statistics/tx_bytes; ' + 'cat /sys/class/net/' + ifaceSanitized + '/statistics/tx_bytes; ' +
'cat /sys/class/net/' + ifaceSanitized + '/statistics/rx_dropped; ' + 'cat /sys/class/net/' + ifaceSanitized + '/statistics/rx_dropped; ' +
'cat /sys/class/net/' + ifaceSanitized + '/statistics/rx_errors; ' + 'cat /sys/class/net/' + ifaceSanitized + '/statistics/rx_errors; ' +
'cat /sys/class/net/' + ifaceSanitized + '/statistics/rx_dropped; ' + 'cat /sys/class/net/' + ifaceSanitized + '/statistics/tx_dropped; ' +
'cat /sys/class/net/' + ifaceSanitized + '/statistics/tx_errors; '; 'cat /sys/class/net/' + ifaceSanitized + '/statistics/tx_errors; ';
exec(cmd, function (error, stdout) { exec(cmd, function (error, stdout) {
if (!error) { if (!error) {