diff --git a/doc/tint2.1 b/doc/tint2.1 index a553872..c745986 100644 --- a/doc/tint2.1 +++ b/doc/tint2.1 @@ -843,7 +843,7 @@ execp_continuous = 1 .RS .nf 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 .fi diff --git a/doc/tint2.html b/doc/tint2.html index 5311c66..2acd5ea 100644 --- a/doc/tint2.html +++ b/doc/tint2.html @@ -379,7 +379,7 @@ execp_interval = 1 execp_continuous = 1
Network load
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
 
diff --git a/doc/tint2.md b/doc/tint2.md index 1e2d2f5..af52798 100644 --- a/doc/tint2.md +++ b/doc/tint2.md @@ -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 ```