systeminformation 5.11.2 → 5.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -927,7 +927,7 @@ In `fsStats()`, `disksIO()` and `networkStats()` the results / sec. values (rx_s
|
|
|
927
927
|
with the second call of the function. It is determined by calculating the difference of transferred bytes / IOs
|
|
928
928
|
divided by the time between two calls of the function.
|
|
929
929
|
|
|
930
|
-
The first time you are calling one of these functions, you will get
|
|
930
|
+
The first time you are calling one of these functions, you will get `null` for transfer rates. The second time, you should then get statistics based on the time between the two calls ...
|
|
931
931
|
|
|
932
932
|
So basically, if you e.g. need a value for network stats every second, your code should look like this:
|
|
933
933
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "systeminformation",
|
|
3
|
-
"version": "5.11.
|
|
3
|
+
"version": "5.11.3",
|
|
4
4
|
"description": "Advanced, lightweight system and OS information library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Sebastian Hildebrandt <hildebrandt@plus-innovations.com> (https://plus-innovations.com)",
|