ttyplot

Realtime terminal plotter
git clone git://git.sgregoratto.me/ttyplot
Log | Files | Refs | README | LICENSE

commit 05efd63981ba93808411c65a839291e882149d0b
parent 986b8e4ab6832a0a9c65569f818a8ed8fe2865eb
Author: Antoni Sawicki <as@tenoware.com>
Date:   Thu, 11 Oct 2018 14:08:16 -0700

readme examples

Diffstat:
MREADME.md | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -33,7 +33,7 @@ ping 8.8.8.8 | gawk '{ gsub(/time=/,"",$(NF-1)); print $(NF-1); fflush(); }' | t ### local network throughput for all interfaces from sar ``` -sar -n DEV 1 | gawk '{ if($6 ~ /rxkB/) { print iin/1000; print out/1000; iin=0; out=0; fflush(); } iin=iin+$6; out=out+$7; }' | ttyplot -u "MB/s" +sar -n DEV 1 | gawk '{ if($6 ~ /rxkB/) { print iin/1000; print out/1000; iin=0; out=0; fflush(); } iin=iin+$6; out=out+$7; }' | ttyplot -2 -u "MB/s" ``` ### snmp network throughput for an interface using [ttg](https://github.com/tenox7/ttg) and two line plot