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

Reply via email to