troythered
Technical User
Our database has a binary file that is appended to for account notes. I am trying to see the notes in realtime as they are entered.
I use the following command which works fine:
tail /program/log/note.log | strings -n 3
However I have to enter that command to update my screen...
tail -f /program/log/note.log | strings -n 3
The above line does not update the screen in real time.
watch -n 5 tail /program/log/note.log | strings -n 3
The above command skews the data across the screen in a very bad way.
I found which mentions the programs unbuffer, stdbuf, and using less, however this file is 1.7G large and less has to scroll through the entire 1.7G over a 100mbit network to get to the end...
Any suggestions? I cannot find debian packages containing stdbuf or unbuffer, but if those are my only options I guess I could find them and include them if I have to.
I use the following command which works fine:
tail /program/log/note.log | strings -n 3
However I have to enter that command to update my screen...
tail -f /program/log/note.log | strings -n 3
The above line does not update the screen in real time.
watch -n 5 tail /program/log/note.log | strings -n 3
The above command skews the data across the screen in a very bad way.
I found which mentions the programs unbuffer, stdbuf, and using less, however this file is 1.7G large and less has to scroll through the entire 1.7G over a 100mbit network to get to the end...
Any suggestions? I cannot find debian packages containing stdbuf or unbuffer, but if those are my only options I guess I could find them and include them if I have to.