Re: For you old-timers, an RS232 question about data rate confirmation.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux