How to test the network connectivity performance of a host

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

How to test the host's network connectivity performance, we all know to use Ping, but the website service is 24 hours, you can not every once in a while to ping it, tired not tired ah! First of all, DOS Ping:

Ping, this command is the most commonly used

PING-T-N 10-l 1000 wangblog.org,-t is command CTRL + C to stop Ping,dos The default is Ping4 secondary connection, this is different from FreeBSD;-N 10 is the command ping10 secondary connection;-L 1000 is the command to request a 1000-byte packet at a time, no more than 65500 bytes.

Ping-?, command Help

DOS also has important commands: tracert wangblog.com and Nslookup-q=ns wangblog.org,tracert wangblog.com routing Tracking, diagnostics, Nslookup-q=ns wangblog.org is DNS information.

Tracert g.cn, there are many layers of the domestic route, the speed is fast

Tracert-?, help command

Dos These commands we can easily test the performance of the network, the greater the proportion of loss, the worse the network performance, loss refers to the swap rate. Of course it's related to the network. Generally speaking, foreign web site turnover rate will be relatively high, not to say that the performance of foreign Web server is not good, but the bandwidth between China and foreign issues. The same host, I in the domestic measurement of the switch rate reached about 50%, the network test in Singapore is 0% of the swap rate.

The ping in DOS is good, but it's a hassle to hand ping every once in a while. Then use the FreeBSD cron! # crontab-e mailto= "email address" 0 */1 * * */sbin/ping-c 100-s 1000 wangblog.org "e-mail address" is to send the results to your mailbox, every hour, so we observe a host For a few days, you know its network connectivity performance.

A virtual host user with Cron privileges can be set in Chanel.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.