Skip to content

Instantly share code, notes, and snippets.

@JoSSte
Last active October 13, 2023 06:35
Show Gist options
  • Save JoSSte/f946436a7d8f0fe2428665bc8a837306 to your computer and use it in GitHub Desktop.
Save JoSSte/f946436a7d8f0fe2428665bc8a837306 to your computer and use it in GitHub Desktop.
Network Performance

Assume the port is 11234 (above 1024 so no admin privileges required) and that the host has ip 10.10.10.240

On the host:

netserver -p 11234

On the client:

netperf -H 10.10.10.240 -p 11234 -l 100

shutting down the server

Get The ID of the process ps aux |grep -v grep|grep "netserver -p"|awk '{print $2}'

@JoSSte
Copy link
Author

JoSSte commented Oct 13, 2023

use iperf3 instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment