Tuesday, February 16, 2010

sleeeep




A trick on Linux when you are "tail -f"ing the flashlog.txt file when using a local flashplayer applet. I was having some terrrible tracing issues, because the file was getting truncated and looked the same after it was truncated, so I wouldn't always see it change. To fix this, lower the sleep interval to the tail command:


tail -f -s0.01 flashlog.txt