Improve network bandwidth executor example too (stdbuf -oL)

If memusage example got stdbuf -oL awk, why further examples
can't use same?
This commit is contained in:
Nikita Zlobin
2020-12-24 00:24:36 +05:00
parent 795302fbaf
commit ca3588cab0
3 changed files with 3 additions and 3 deletions

View File

@@ -705,7 +705,7 @@ execp_continuous = 1
```
execp = new
execp_command = stdbuf -oL bwm-ng -o csv -t 1000 | awk -F ';' '/total/ { printf "Net: %.0f Mb/s\n", ($5*8/1.0e6) }; fflush(stdout)'
execp_command = stdbuf -oL bwm-ng -o csv -t 1000 | stdbuf -oL awk -F ';' '/total/ { printf "Net: %.0f Mb/s\n", ($5*8/1.0e6) }'
execp_continuous = 1
execp_interval = 1
```