l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2010 Dec 03 16:41

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Idea for 'tee' -- shut up already!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Idea for 'tee' -- shut up already!

On Fri, Dec 03, 2010 at 02:32:28PM -0800, Chris Jenks wrote:
>    What would screen do for you that opening a new terminal window 
> (alt-Fn) wouldn't do? I know you're an expert, so I just want to know what 
> I'm missing.

This was a process running remotely on a server I was SSH'd into.
I didn't want to have all the data transferring over the network, or
the terminal having to bother to scroll itself or keep its scrollback log.
I was done looking at 'tee's output, and didn't want to have to sit
through all 6.4M lines worth of it. :)

Honestly, once I did the "/dev/null" trick to silence the output, the
process finished up quite quickly.

With 'screen' I could do something that's bascially similar... detach the
screen session that was running with shell with the 'tee' output.

It'd be interesting (not that I have time to experiment) to see whether
things actually do run faster or slower in these situations:

  * tee -> stdout -> ssh -> my local terminal (e.g., Konsole)
  * tee -> stdout -> detached screen
  * tee -> /dev/null

That is, how much do:

  - sending data over network
  - my local terminal doing its thing (scrollback buffer, scrolling)
  - screen doing its thing

actually slow down the process (blocking stdout until they're
ready for more data?)

I admin, it's been a looong time since I've thought at this level.
(Like, Operating Systems class back in my Comp Sci schooling.
Remember Minix? :) )

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.