Skip to content

ymgyt/netspeed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

netspeed

Install

cargo

# install
$ cargo install netspeed

# update
$ cargo install --force netspeed

MacOS

$ brew tap ymgyt/netspeed
$ brew install netspeed

Usage

$ netspeed                                                                                                                                                     +[master]
INFO  Connecting to "netspeed.ymgyt.io:5555"
INFO  Start downstream duration: 3 seconds
INFO  Start upstream duration: 3 seconds
Downstream: 24.00 Mbps
  Upstream: 106.67 Mbps

running server

terminal1

$ netspeed server run
INFO  2020-02-15T10:13:10.360482+00:00 Listening on "0.0.0.0:5555" max threads: 100

terminal2

$ netspeed --addr=127.0.0.1:5555                                                                                                                            +[master]
INFO  Connecting to "127.0.0.1:5555"
INFO  Start downstream duration: 3 seconds
INFO  Start upstream duration: 3 seconds
Downstream: 13.97 Gbps
  Upstream: 17.99 Gbps