Decrease buffer size

view full story

http://www.unix.com – Hi, I am using the below command to get the output in a file called "Logs.txt" HTML Code: tail -f filename | egrep -i "cpu | hung " >> Logs.txt The problem is the Logs.txt file gets updated only after the buffer is 8Kb, but i want to update the file immediately and not wait for the buffer to get 8kb. Is there a way to decrease the buffer size. Thanks (HowTos)