I got a long running program that I don't want to kill, but I do want to see the output that it has (which is one sentence every hour or so).
I know now that I needed to flush the output in my script (e.g. sys.stdout.flush()), but since I don't want to kill it, I'm hoping there is some clever linux command to do this. From what I've read online, the typical linux behavior is to flush this when the buffer fills up.
If nobody knows answer, do you have any idea of how big this buffer is? It would be nice to at least get an idea of when to check back :)
[this is on Ubuntu 10]