[CLUE-Tech] Moving files from one system to another

Keith Hellman kehellman at yahoo.com
Wed Jul 17 22:35:49 MDT 2002


--- David Anselmi <anselmi at americanisp.net> wrote:
> Keith Hellman wrote:
> >  
> > destsys>nc -l -p 5000 |tar xzpf -
> > srcsys>tar czf - ./ |nc DESTSYS_IP 5000
> 
> That's pretty cool.  Will the listening side of nc allow other 
> connections after the first (that would hose your untar)?  I think 
> there's a way to listen for just one IP.  None of that matters in BOF's 
> case.
No.  nc will listen for only one connection and it will be the only
connection allowed.

> So if you do this, where's the bottleneck?  Is it the CPU 
> compressing/decompressing, tar reading and writing the disks, or the 
> network transfer?  How would you tell?
Geez, I dunno.  The extremes are easy to answer (>GHz processors connected
by signal flags, probably the network transfer :^).  I just have the habit
of ALWAYS using z with tar.  Unless you have the network all to yourself,
its the polite thing to do, IMHO. 

> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech


=====
Keith E. Hellman
kehellman at yahoo.com

__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com



More information about the clue-tech mailing list