ttyplot

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

commit 88aa832568d2907fcddc61be7b803857d9d53451
parent ac8c3c31b879b865cb5aeaecff12b4fc7450a77f
Author: Antoni Sawicki <as@tenoware.com>
Date:   Wed, 17 Oct 2018 01:08:55 -0700

wifi signal level

Diffstat:
MREADME.md | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -66,6 +66,11 @@ iostat -xmy 1 | gawk '/^nvme0n1/ { print $4,$5; fflush(); }' | ttyplot -2 -t "nv { while true; do sensors | gawk '/^fan1:/ { print $2; fflush(); }'; sleep 1; done } | ttyplot -t "fan speed" -u RPM ``` +### wifi signal level, note higher=worse as this is -dBm +``` +{ while true; do iwconfig 2>/dev/null| gawk '/Signal level=/ { gsub(/level=-/,"", $(NF-1)); print 100-$(NF-1); fflush(); }'; sleep 1; done } | ttyplot -t "wifi signal" -u "-dBm" -s 90 +``` + ### prometheus remote load average via node exporter ``` { while true; do curl -s http://10.4.7.180:9100/metrics | gawk '/^node_load1 / { print $2; fflush(); }'; sleep 1; done } | ttyplot