133 reputation
4
bio website
location Sacramento, CA
age
visits member for 4 years, 4 months
seen Jun 24 at 21:01

Sep
24
awarded  Popular Question
Dec
20
awarded  Scholar
Dec
20
accepted Can putty beep when tailing a log file?
Dec
20
comment Can putty beep when tailing a log file?
Thanks to another answered question on SO, I found that this works: tail -f server.log | while read line ; do echo "$line" | grep -v "Invalid chunk ignored." | sed 's/^/\a/'; done
Dec
20
comment Can putty beep when tailing a log file?
It seems to be buffering 22-23 lines before it sends output to window and beeps. That behavior ring a bell (no pun!) for anyone?
Dec
20
awarded  Supporter
Dec
20
comment Can putty beep when tailing a log file?
Cool app I'll make note of perhaps for future use. Thx.
Dec
20
comment Can putty beep when tailing a log file?
This is so close! It works as it is, but I'd like to filter out some routine messages that come up so I pipe to grep -v first. Full thing looks like "tail -f server.log | grep -v "Invalid chunk ignored." | sed 's/^/\a/'" and it looks like it's buffering before piping to sed. Hmmmm....it just did beep but it looks like it buffered a bunch of messages. Maybe took a couple minutes. That might be "good enough", though I'll watch it to see if it's consistent enough.
Dec
20
asked Can putty beep when tailing a log file?
Jun
17
awarded  Student
Jun
17
asked Failover of mirrored webservice