System Grab Bag

View all TLDR pages from Linux (or from all pages)

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 and 3 (cat prevents ttyplot to exit):
    { echo {{1 2 3}}; cat } | ttyplot
  • Set a specific title and unit:
    { echo {{1 2 3}}; cat } | ttyplot -t {{title}} -u {{unit}}
  • Use a while loop to continuously plot random values:
    { while {{true}}; do echo {{$RANDOM}}; sleep {{1}}; done } | ttyplot
  • Parse the output from ping and visualize it:
    ping {{8.8.8.8}} | sed -u '{{s/^.*time=//g; s/ ms//g}}' | ttyplot -t "{{ping to 8.8.8.8}}" -u {{ms}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.