tenox7 / ttyplot

a realtime plotting utility for terminal/console with data input from stdin
Apache License 2.0
961 stars 43 forks source link

-e arg isn't working in Homebrew version (but works fine when compiled from source) #49

Closed luckman212 closed 7 months ago

luckman212 commented 4 years ago

Hey, first: amazing work on this tool! I'm using it to visualize memory pressure over time on my Mac.

v1.4 from Homebrew seems to have a problem with the -e option -- e.g. this will fail (just prints the helptext and then pauses for 1 second, then exits):

while [0]; do memory_pressure | awk 'END {print $5/1}'; sleep 1; done | ttyplot -e+ -cx -m100 -t%free_mem -u%

but, cloning master and compiling with make outputs a version where the exact same command works fine (also says 1.4 but obviously something's different).

macOS 10.15.5

Any idea?

tenox7 commented 4 years ago

very interesting, let me investigate

hartwork commented 7 months ago

Turns out that:

I'll close as fixed, please re-open as needed.