VPS测速脚本 speedtest-cli 使用方法

Kevin 教程 2,223 次浏览 50条评论

开通 VPS 后如果希望测试下服务器的访问速度,可以使用 speedtest-cli 这个测速脚本。由知名 speedtest.net 测速网站提供,适用于各主流 Linux 发行版系统(需要 Python 组件支持,通常系统默认自带),使用方法如下。

1. 首先获取 speedtest-cli 脚本并赋予权限(如果运行不了,检查是否安装wget

wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
chmod +x speedtest-cli

2. 之后运行./speedtest-cli命令即可测速,默认自动匹配附近服务器节点测速。

3. 如果要指定测速节点,先访问这个页面获取服务器ID(Ctrl+F 输入关键词快速查找,或者另存为网页内容为XML,然后转换为CSV表格使用)。例如我们找个“Shanghai”服务器测试,服务器ID为16719(可同时测试多个节点,以空格区分ID),测速命令则修改为如下。

./speedtest-cli --server 16719

4. 追加--share参数还可以生成测速结果图片外链,方便分享使用。

VPS测速
示例测速结果

5. 如需了解更多测速参数,运行./speedtest-cli -h命令查看。

评论列表

  1. #1

    hydroxychloroquine for arthritis reviews https://hydroxychloroquine.webbfenix.com/

  2. #2

    viagra with dapoxetine generic usa https://salemeds24.wixsite.com/dapoxetine

  3. #3

    ivermectin pills for humans https://ivermectin.webbfenix.com/

  4. #4

    stromectol dosage for scabies https://ivermectin.mlsmalta.com/

  5. #5

    generic tadalafil black vidalista https://vidalista.mlsmalta.com/

  6. #6

    clomid for infertility https://salemeds24.wixsite.com/clomid

  7. #7

    interactions for tadalafil http://www.lm360.us/

  8. #8

    sildenafil citrate pills http://droga5.net/

  9. #9

    hydroxychloroquine zinc and azithromycin https://hydroxychloroquine.mlsmalta.com/

  10. #10

    priligy for daily use dosage https://ddapoxetine.com/

  11. #11

    side effects of vidalista overdose https://vidalista40mg.mlsmalta.com/

  12. #12

    tamoxifen side effects forum https://tamoxifen.mrdgeography.com/

  13. #13

    directions for cialis 10mg https://wisig.org/

  14. #14

    amstyles.com https://amstyles.com/

  15. #15

    doxycycline prescription cost http://doxycycline.zolftgenwell.org/

  16. #16

    tadalafil cost 5mg https://tadalafil.cleckleyfloors.com/

  17. #17

    chloroquine adverse effects https://hydroxychloroquinee.com/

  18. #18

    I wanted to put you the very little remark to be able to thank you the moment again over the remarkable tactics you have provided on this page. This has been simply surprisingly generous of people like you giving easily all a few individuals could have advertised as an e-book in making some bucks for their own end, and in particular considering that you could have done it if you considered necessary. The basics additionally acted as a easy way to be aware that many people have a similar desire just as mine to figure out a great deal more concerning this condition. Certainly there are a lot more enjoyable instances ahead for folks who check out your blog. https://nujemznuedi.online/

  19. #19

    My spouse and i got quite glad that John could deal with his investigations through the ideas he grabbed out of your web page. It’s not at all simplistic to just continually be giving out methods that many other people have been selling. And we also fully understand we have got the website owner to be grateful to for that. The main explanations you have made, the simple site menu, the friendships you can help foster – it’s got many great, and it’s really helping our son and the family imagine that the matter is entertaining, and that is pretty indispensable. Thank you for everything! https://geodonziprasidone.com/

  20. #20

    Thank you for your entire labor on this web site. My mom really loves managing investigations and it is obvious why. My partner and i learn all regarding the lively tactic you present sensible things through your web site and in addition invigorate response from some other people on the issue so our favorite girl is in fact learning a lot of things. Take advantage of the rest of the year. You are always doing a really good job. https://venlorz.com/#

  21. #21

    I’m also commenting to let you be aware of of the brilliant discovery my child encountered checking the blog. She came to understand a lot of details, including how it is like to have a marvelous giving mood to have most people really easily know selected impossible subject areas. You really exceeded our own expectations. Many thanks for imparting the invaluable, safe, explanatory and even easy thoughts on the topic to Janet. https://wellbutrinbupropions.com/#

  22. #22

    my personal medication list https://edmeds.buszcentrum.com/

  23. #23

    my personal medication list https://buymeds.mlsmalta.com/

  24. #24

    Hello there! Do you know if they make any plugins to help with Search Engine Optimization? I’m trying to
    get my blog to rank for some targeted keywords but I’m not seeing very good success.
    If you know of any please share. Many thanks!

    Feel free to visit my web page; instagram takipçi satın al

  25. #25

    ivermectin pour on https://ivermectin1st.com/

  26. #26

    can you buy cialis online https://cialis.confrancisyalgomas.com/

  27. #27

    can you buy cialis online https://cialis.grassfed.us/

  28. #28

    daily vidalista cost http://vidallista.com/

  29. #29

    I needed to thank you for this excellent read!! I certainly loved every bit of it.
    I have you book-marked to check out new stuff you post…

    my web-site CBD shop near me

  30. #30

    Hey there! This post could not be written any better!

    Reading through this post reminds me of my good old room
    mate! He always kept chatting about this. I will forward this page to him.
    Fairly certain he will have a good read. Thanks for sharing!

    Here is my webpage … cbd anxiety gummies

  31. #31

    What’s up, its pleasant post regarding media print, we all be familiar with media is a great source of data.

    Here is my web page: cbd gummies for pain

  32. #32

    Magnificent beat ! I wish to apprentice while you amend your site, how can i subscribe for a blog site? The account helped me a acceptable deal. I had been tiny bit acquainted of this your broadcast provided bright clear idea

    http://www.vreyrolinomit.com/

  33. #33

    vidalista 60

  34. #34

    viagra without a doctor prescription

  35. #35

    canada pharmacy viagra no script number

  36. #36

    Takipçi satın almak sadece gelir elde etmek isteyen kişilerin değil hesaplarındaki
    takipçi sayısını
    yükselterek popüler bir profil oluşturmak isteyen kullanıcılarında tercih ettikleri bir
    yöntemdir
    . Instagram fenomeni olmak için İnstagram takipçi sayınızı
    megatakip adresi ile güvenilir sekilde takipci alabilirsiniz

    Here is my web site – https://www.megatakip.com/

  37. #37

    Its like you read my mind! You seem to know a lot about
    this, like you wrote the book in it or something.
    I think that you can do with some pics to drive the message home a bit, but instead of that, this is fantastic blog.
    An excellent read. I will certainly be back.

    Here is my blog – havadis07.com

  38. #38

    Spot on with this write-up, I truly think this amazing site needs a lot
    more attention. I’ll probably be returning to read through
    more, thanks for the information!

    Feel free to surf to my site – https://www.hc.com.tr/hc-leke-kremi

  39. #39

    Wow! This blog looks exactly like my old one! It’s on a
    entirely different topic but it has pretty much the same page layout and design. Great choice of colors!

    Also visit my blog post :: retinol serum

  40. #40

    cialis online pharmacy no prescription http://edonline.online/

  41. #41

    If you are going for best contents like me, simply
    visit this site everyday since it offers feature contents, thanks

    Feel free to surf to my page https://wsocum.wordpress.com

  42. #42

    You got a very superb website, Glad I discovered it through yahoo.

    https://www.youtube.com/watch?v=vIeo40k99nY

  43. #43

    If you want to take much from this paragraph then you have to apply such techniques to your won blog.

    Here is my blog post: best delta 8 thc products

  44. #44

    I have read so many articles regarding the blogger lovers but this article is really a fastidious post, keep it up.

    Review my website; delta 8 thc for sale

  45. #45

    Do you have a spam problem on this website; I also am a blogger, and I
    was wondering your situation; many of us have created some nice methods and
    we are looking to exchange strategies with others, please shoot me an e-mail if interested.

    Here is my website; delta 8

  46. #46

    Hey very nice blog!

    Here is my website; cbd gummies

  47. #47

    Please let me know if you’re looking for a writer for your site.
    You have some really good posts and I think I would be a good asset.

    If you ever want to take some of the load off, I’d really like to write some material for your blog in exchange for a link back to mine.
    Please blast me an email if interested. Kudos!

    my web site buy cbd

  48. #48

    Useful info. Lucky me I found your website by chance, and I am stunned why this accident did not
    took place earlier! I bookmarked it.

    Feel free to surf to my blog post – best delta 8

  49. #49

    This post is genuinely a fastidious one it helps new the web
    viewers, who are wishing in favor of blogging.

    Also visit my web site … area 52 delta 8 THC products

  50. #50

    Pretty! This was an extremely wonderful post. Many thanks for providing these details.

    Review my blog post – best delta 8 thc carts

发表评论

电邮地址用于 Gravatar 头像显示,不会被公开可见。