updated docs

This commit is contained in:
Sebastian Hildebrandt
2022-02-14 15:03:35 +01:00
parent d0d15e0389
commit b06ac137f6
5 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -54,7 +54,7 @@
results / sec. values (rx_sec, IOPS, ...) are calculated correctly beginning with the <strong>second</strong> 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.</p>
<p>The first time you are calling one of this functions, you will get <span class="code">-1</span> for transfer rates.
<p>The first time you are calling one of this functions, you will get <span class="code">null</span> for transfer rates.
The second time, you should then get statistics based on the time between the two calls ...</p>
<p>So basically, if you e.g. need a values for network stats every second, your code should look like this:</p>