ttyplot

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

commit 850cb76c14a7be865b503851ae04e94aff0bbfd1
parent 98babdf74401b8a6faac5de5639f8bad9c75fc84
Author: Antoni Sawicki <as@tenoware.com>
Date:   Wed, 24 Oct 2018 15:32:02 -0700

iostat gawk/to/cut

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

diff --git a/README.md b/README.md @@ -97,7 +97,7 @@ 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. ### disk throughput from iostat ``` -iostat -xmy 1 | gawk '/^nvme0n1/ { print $4,$5; fflush(); }' | ttyplot -2 -t "nvme0n1 throughput" -u MB/s +iostat -xmy 1 nvme0n1 | stdbuf -o0 tr -s " " | stdbuf -o0 cut -d " " -f 4,5 | ttyplot -2 -t "nvme0n1 throughput" -u MB/s ``` &nbsp;