File transfer performance display?

John Abreau jabr-iwcNaMm7aMIiq3RsQ1AnAw at public.gmane.org
Tue Sep 30 17:18:40 EDT 2008


On Tue, Sep 30, 2008 at 5:00 PM, Derek Atkins <warlord-3s7WtUTddSA at public.gmane.org> wrote:
> Quoting John Abreau <jabr-iwcNaMm7aMIiq3RsQ1AnAw at public.gmane.org>:
>
>> If cstream gives you the output you want, try replacing \n with \r:
>>
>>   ssh host run-program | cstream -T 5 -o localfile | tr '\012' '\015'
>
> Cool Idea, but unfortunately it doesn't seem to work right.  :(
>


Yeah, that is a bit messy. Maybe this would work better, assuming the
status output is to stdout:

    ssh host run-program | cstream -T 5 -o localfile > foo &
    watch -i 5 tail -1 foo


-- 
John Abreau / Executive Director, Boston Linux & Unix
AIM abreauj / JABBER jabr-iMZfmuK6BGBxLiRVyXs8+g at public.gmane.org / YAHOO abreauj / SKYPE zusa_it_mgr
Email jabr-mNDKBlG2WHs at public.gmane.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99





More information about the Discuss mailing list