Tools for checking network performance between two machines, written in Python. Two types of tests are performed.
- Ping test: runs specified number of pings towards the target machine and reports the results
- File transfer test: copies an user-specified file from the
./datafolder to the target machine.
Sample invocation:
$ ./network-test.py -a 161.53.68.182 -n 10 -f medfile.mp4 -l C-XI-16 -u username -p password
The file specified with the -f option should be placed in the ./data folder.
You must have an account on the target computer. The default target folder for the file transfer is:
/home/username/Downloads
To get help on the command-line parameters, type:
$ ./network-test.py -h
After running the tests, please update the following fields in the .csv log file:
- Network adapter (detailed info can be obtained by running the commands ``sudo lspci | egrep -i "network|ethernet")
- Target platform (output of the
uname -acommand on the target machine) - Target platform adapter
Most modern machines have at least two network adapters (wired and wireless), so please make sure you specify the appropriate one.
Paramiko
- Linux (tested on Ubuntu 12.04 LTS)
- Windows support is under development.
