File transfer performance display?
Derek Atkins
warlord-DPNOqEs/LNQ at public.gmane.org
Tue Sep 30 16:54:15 EDT 2008
Hi,
Quoting Nuno Sucena Almeida <slug-wz5RHecsqBdg9hUCZPvPmw at public.gmane.org>:
> Can this work for you?
Nope. Doesn't meet the original problem.
> to test:
> (while :; do date ; sleep 1 ; done) | watch 'head -1'
>
> to use:
> ssh host run-program | watch 'head -1'
>
> If you want to save the log, you could use
>
> ssh host run-program > localfile
>
> and then:
>
> watch 'tail -1 localfile'
> Nuno
Nope, that wont work. HOWEVER I suspect I could do something
like:
ssh host run-program | cstream -T 1 -o localfile | watch 'head -1'
Or something like that...
But it's still not close enough to what I had before with curl's
output.
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord-DPNOqEs/LNQ at public.gmane.org PGP key available
More information about the Discuss
mailing list