How to view the real-time traffic bandwidth of Linux __linux

Source: Internet
Author: User
Reprint: Http://hi.baidu.com/helloant/item/af52b8edf2e8e6e62a09a4d4

Viewing real-time bandwidth consumption requires installing the software and logging in to SSH to view it in a command way. Install the Vnstat command as follows:
wget soft.sindns.net/vnstat-1.10.tar.gz
Tar xzvf vnstat-1.10.tar.gz
CD vnstat-1.10
Make && make install

Generally used to view traffic commands:
Vnstat-l-I eth0 view real-time traffic
Vnstat–tr–i eth0 View average traffic for the last five seconds



Amount of data received by Rx
The amount of data sent by Tx

If you find that the peak bandwidth exceeds your server for a long time (such as your peak bandwidth of 5m, where Rx or TX is longer than 5MBIT/S), please check your site immediately, may have site traffic too large or access abnormal.

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.