Skip to content

Test your internet connection speed and ping using speedtest.net from the CLI

License

Notifications You must be signed in to change notification settings

gnud/speed-test

 
 

Repository files navigation

speed-test Build Status

Test your internet connection speed and ping using speedtest.net from the CLI

Install

Ensure you have Node.js version 8 installed. Then run the following:

$ npm install --global speed-test

Usage

$ speed-test --help

  Usage
    $ speed-test

  Options
    --json -j     Output the result as JSON
    --bytes -b    Output the result in megabytes per second (MBps)
    --verbose -v  Output more detailed information

Tips

Batch monitoring

while true; do sleep 30; node cli.js --verbose --json; done >> ~/net.log

Note: using the "--verbose" and "--json" will include a timestamp e.g: "1603971242534" property generated now in form of a timestamp, good for recording the metrics in some monitoring software.

Links

Related

  • fast-cli - Test your download speed using fast.com

License

MIT © Sindre Sorhus

About

Test your internet connection speed and ping using speedtest.net from the CLI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%