Hi Bob, Thanks for responding. Output of the commands: tee --version | head -n1 tee (coreutils) 4.5.3
ldd --version | head -n1 ldd (GNU libc) 2.3.2 I am not seeing any error messages in /var/log/messages & other files. Just for your information, this error only comes when my application runs fast with lot of display messages which i am redirecting through tee to log file. but size of log file formed is too small (2437014 bytes) How can i avoid this error? Is there any way to redirect in log just like tee. Thanks Saurabh On 9/17/07, Bob Proulx <[EMAIL PROTECTED]> wrote: > > Saurabh Gupta wrote: > > I was trying to pipe something to pipe with tee. But i am getting > error > > tee: write error > > > > app | tee a.log > > Size of file formed is 244137 bytes. > > Please report *exactly* the commands used and the output produced. > > A write error could be caused by a failing disk drive or by a > temporary networking error or by other things. Look in your system > log (usually /var/log/syslog or /var/log/messages or some such > location) and see if there are other errors reported there. > > > I am using Linux 2.4.21-32.EL. > > The version of the kernel is not as important as the version of the > utility and the version of the libraries used with it. Please say > what version of tee you are using. The following will do this. > > tee --version | head -n1 > > ldd --version | head -n1 > > Bob > _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils