-
Notifications
You must be signed in to change notification settings - Fork 0
Home
beckus edited this page Sep 14, 2010
·
14 revisions
This is a Java program that was created to test the transfer rate reading/writing over a serial connection. However, it can be used to test the transfer rate with any file.
The compiled jar file is available here.
Usage: java -jar TestXferRate.jar [OPTION] FILE
Continuously read/write to/from the specified file and periodically
report the average transfer rate. FILE is intended to be a device file,
although any file will work. Press Ctrl+c to end the program.
Examples: java -jar TestXferRate.jar -r /dev/zero
java -jar TestXferRate.jar -w /dev/null
Options (only one may be specified):
-h display this help message
-r Read from the file and report the read rate
-w Write to the file and report the write rate