[CentOS] For you old-timers, an RS232 question about data rate confirmation.
John R Pierce
pierce at hogranch.com
Tue Sep 1 20:33:44 UTC 2009
Stephen Harris wrote:
> On Tue, Sep 01, 2009 at 03:38:23PM -0400, Barry L. Kline wrote:
>
>> the end of the device. I am able to confirm that it works fine with
>> minicom, but I'd like to be able to have a program read/write the device
>> with a largish file and give me a throughput rating.
>>
>
> Since you have loopback adapter connected you need to read/write from
> the device at the same time. So... first attempt:
> cat </dev/ttyr00 > /dev/null &
> time cat large_file > /dev/ttyr00
>
I'd replace /dev/null with large_file_copy, then run md5sum on both to
confirm things are working reliably.
More information about the CentOS
mailing list