Cara Install Speedtest-cli di Linux Ubuntu 20.10
Untuk sharing kali ini penulis mau mencoba meinstall speetest menggunakan cli
Pengertian speedtest?
Speedtest merupakan layanan untuk menguji kecepatan dan performa koneksi internet, baik seluler maupun Wi-FI, yang dikembangkan oleh Ookla. Layanan ini pertama kali diluncurkan pada tahun 2006 dan hingga saat ini layanan Speedtest telah digunakan lebih dari 25 miliar kali untuk menguji kecepatan internet yang sangat populer oleh warga digital.
1. Langkah pertama mari kita coba mengunakan pip
arfika@arfika-Lenovo-G580:~$ sudo apt-get install python3-pip
[sudo] password for arfika:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python3-pip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python3-pip' has no installation candidate
arfika@arfika-Lenovo-G580:~$
2. Langkah kedua mari kita coba mengunakan apt-get
arfika@arfika-Lenovo-G580:~$ sudo apt-get install speedtest-cli
Reading package lists... Done
Building dependency tree
Reading state information... Done
No apt package "speedtest-cli", but there is a snap with that name.
Try "snap install speedtest-cli"
E: Unable to locate package speedtest-cli
3. Langkah kedua mari kita coba mengunakan snap
arfika@arfika-Lenovo-G580:~$ snap install speedtest-cli
speedtest-cli 2.1.3+pkg-d3a7 from 林博仁(Buo-ren, Lin) (brlin) installed
arfika@arfika-Lenovo-G580:~$
4. Instalasi akhirnya sukses mengunakan snap
arfika@arfika-Lenovo-G580:~$ speedtest-cli --help
usage: speedtest-cli [-h] [--no-download] [--no-upload] [--single] [--bytes]
[--share] [--simple] [--csv]
[--csv-delimiter CSV_DELIMITER] [--csv-header] [--json]
[--list] [--server SERVER] [--exclude EXCLUDE]
[--mini MINI] [--source SOURCE] [--timeout TIMEOUT]
[--secure] [--no-pre-allocate] [--version]
Command line interface for testing internet bandwidth using speedtest.net.
--------------------------------------------------------------------------
https://github.com/sivel/speedtest-cli
optional arguments:
-h, --help show this help message and exit
--no-download Do not perform download test
--no-upload Do not perform upload test
--single Only use a single connection instead of multiple. This
simulates a typical file transfer.
--bytes Display values in bytes instead of bits. Does not
affect the image generated by --share, nor output from
--json or --csv
--share Generate and provide a URL to the speedtest.net share
results image, not displayed with --csv
--simple Suppress verbose output, only show basic information
--csv Suppress verbose output, only show basic information
in CSV format. Speeds listed in bit/s and not affected
by --bytes
--csv-delimiter CSV_DELIMITER
Single character delimiter to use in CSV output.
Default ","
--csv-header Print CSV headers
--json Suppress verbose output, only show basic information
in JSON format. Speeds listed in bit/s and not
affected by --bytes
--list Display a list of speedtest.net servers sorted by
distance
--server SERVER Specify a server ID to test against. Can be supplied
multiple times
--exclude EXCLUDE Exclude a server from selection. Can be supplied
multiple times
--mini MINI URL of the Speedtest Mini server
--source SOURCE Source IP address to bind to
--timeout TIMEOUT HTTP timeout in seconds. Default 10
--secure Use HTTPS instead of HTTP when communicating with
speedtest.net operated servers
--no-pre-allocate Do not pre allocate upload data. Pre allocation is
enabled by default to improve upload performance. To
support systems with insufficient memory, use this
option to avoid a MemoryError
--version Show the version number and exit
arfika@arfika-Lenovo-G580:~$
5. Cara test koneksi kecapatan download dan uploadnya
arfika@arfika-Lenovo-G580:~$ speedtest-cli --share
Retrieving speedtest.net configuration...
Testing from PT Telkom Indonesia (36.68.53.153)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by CLOUDXCHANGE (Jakarta) [324.66 km]: 113.528 ms
Testing download speed................................................................................
Download: 0.71 Mbit/s
Testing upload speed......................................................................................................
Upload: 0.76 Mbit/s
ERROR: HTTP Error 503: Service Unavailable
arfika@arfika-Lenovo-G580:~$
#speedtesst #koneksi #google #lowongankerja #1
Terima kasih
Tegal, 25 Maret 2022 | ainurohman31.blogspot.com