ttyplot
A realtime plotting utility for the command-line with data input from
stdin. More information: https://github.com/tenox7/ttyplot.
- Plot the values
1,2, and3(Note:catpreventsttyplotfrom exiting):
{ echo 1 2 3; cat; } | ttyplot
- Set a specific title and unit:
{ echo ; cat; } | ttyplot -t -u
- Use a while loop to continuously plot random values:
{ while true; do echo $RANDOM; sleep ; done } | ttyplot
- Parse the output from
pingand visualize it:
ping | sed -u '' | ttyplot -t "" -u
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
