Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!vsi1!v7fs1!mvp From: mvp@v7fs1.UUCP (Mike Van Pelt) Newsgroups: comp.unix.questions Subject: Re: 'peeking' in on a pipe Message-ID: <435@v7fs1.UUCP> Date: 10 Jul 89 20:01:09 GMT References: <6.24B47361@seaeast.WA.COM> <2847@kappl.cs.vu.nl> Reply-To: mvp@v7fs1.UUCP (Mike Van Pelt) Organization: Video 7 + G2 = Headland Technology Lines: 19 >Tim.Evans@f112.n138.z1.WA.COM (Tim Evans) writes: >I would like to 'peek' in on a pipe, to see what is happening in it, WHILE >IT EXECUTES. I tried something like this, but no luck: > > some_stuff | tee `tty` | more_stuff Here's what I do -- I'm assuming you want to just peek in on it from time to time, not look at the whole thing. some_stuff | tee bletch | more stuff Then, if I want to check in on what's going through the tee I just tail bletch, or, if I want to monitor it for a while, tail -f bletch. -- Mike Van Pelt "I'm not a biologist, but I play one in Headland Technology/Video 7 front of Congressional hearings." ...ames!vsi1!v7fs1!mvp -- Meryl Streep