commit 2461fbc04a0cbdab7508bd1a87a8b0fb638881a0
parent 21bd25047460857612e29221f42c7633045e15de
Author: Antoni Sawicki <as@tenoware.com>
Date: Mon, 15 Oct 2018 14:59:15 -0700
readme update
Diffstat:
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
@@ -51,21 +51,26 @@ ttg -i 10 -u Mb 10.23.73.254 public 9 | gawk 'BEGIN { getline; } { print $5,$8;
snmpdelta -v 2c -c public -Cp 10 10.23.73.254 1.3.6.1.2.1.2.2.1.10.9 1.3.6.1.2.1.2.2.1.16.9 | gawk '{ print $NF/1000/1000/10; fflush(); }' | ttyplot -t "ifindex 9 throughput" -u Mb/s
```
-### 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
-```
-
### disk throughput from iostat
```
iostat -xmy 1 | gawk '/^nvme0n1/ { print $4,$5; fflush(); }' | ttyplot -2 -t "nvme0n1 throughput" -u MB/s
```
-### CPU temperature
+### cpu temperature from proc
```
{ while true; do gawk '{ printf("%.1f\n", $1/1000); fflush(); }' /sys/class/thermal/thermal_zone0/temp; sleep 1; done } | ttyplot -t "cpu temp" -u C
```
+### fan speed from lm-sensors
+```
+{ while true; do sensors | gawk '/^fan1:/ { print $2 }'; sleep 1; done } | ttyplot -t "fan speed" -u RPM
+```
+
+### 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
+```
+
### bitcoin price chart
```
{ while true; do curl -sL https://coinbase.com/api/v1/prices/historical | head -1 | cut -d, -f2 ; sleep 600; done } | ttyplot -t "bitcoin price" -u usd