3 ms·
The nice thing about his code[0] is that the C application just counts the new-lines on stdin and makes a beep for each. Just about anything could be fed into t
by jmiskovic 4y ago
The nice thing about his code[0] is that the C application just counts the new-lines on stdin and makes a beep for each. Just about anything could be fed into this app to make ad-hoc live monitor of activities.
A simple one is to monitor any access to files inside a directory:
inotifywait -r -m . | ./teller
You could also beep on important events in your own log files, beep for each request that hits your socket, or set up the runtime to tell you when the garbage is collected.
[0] https://github.com/berthubert/googerteller https://github.com/berthubert/googerteller