Repository moved
https://github.com/mnellemann/jnetperf
gradle/wrapper | ||
src | ||
.drone.yml | ||
.gitattributes | ||
.gitignore | ||
build.gradle | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
LICENSE | ||
README.md | ||
settings.gradle |
jPerf
Small utility to measure network performance between two hosts.
Requirements
You need Java (JRE) version 8 or later to run jnetperf.
Usage Instructions
- Install the jnetperf package (.deb, .rpm or .jar) from downloads or compile from source.
- Run /opt/jnetperf/bin/jperf, if installed from package
- Or as java -jar /path/to/jnetperf.jar
Usage: jnetperf [-hV] [-l=SIZE] [-n=NUM] [-p=PORT] (-c=HOST | -s)
Network Performance Testing.
-c, --connect=HOST Connect to remote server
-h, --help Show this help message and exit.
-l, --pkt-len=SIZE Datagram size in bytes, max 65507 [default: 65507]
-n, --pkt-num=NUM Number of packets to send [default: 150000]
-p, --port=PORT Network port [default: 4445]
-s, --server Run server and wait for client
-V, --version Print version information and exit.
Development Information
You need Java (JDK) version 8 or later to build jnetperf.
Build & Test
Use the gradle build tool, which will download all required dependencies:
./gradlew clean build