diff --git a/CHANGELOG.md b/CHANGELOG.md index ac7ecfe..80722d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -80,6 +80,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page. | Version | Date | Comment | | -------------- | -------------- | -------- | +| 5.11.3 | 2022-02-14 | updated docs | | 5.11.2 | 2022-02-05 | `powerShell` speed improvements (windows) | | 5.11.1 | 2022-02-03 | `osInfo()` fixed issue fqdn (openBSD) | | 5.11.0 | 2022-01-26 | `networkInterfaces()` added default property and parameter | diff --git a/README.md b/README.md index 2d74d0b..0dd981a 100644 --- a/README.md +++ b/README.md @@ -927,7 +927,7 @@ In `fsStats()`, `disksIO()` and `networkStats()` the results / sec. values (rx_s with the second call of the function. It is determined by calculating the difference of transferred bytes / IOs divided by the time between two calls of the function. -The first time you are calling one of these functions, you will get `-1` for transfer rates. The second time, you should then get statistics based on the time between the two calls ... +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 ... So basically, if you e.g. need a value for network stats every second, your code should look like this: diff --git a/docs/history.html b/docs/history.html index d97377f..51a3aa1 100644 --- a/docs/history.html +++ b/docs/history.html @@ -57,12 +57,16 @@
+
The first time you are calling one of this functions, you will get -1 for transfer rates. +
The first time you are calling one of this functions, you will get null for transfer rates. The second time, you should then get statistics based on the time between the two calls ...
So basically, if you e.g. need a values for network stats every second, your code should look like this: