View server NIC traffic in CentOS

Source: Internet
Author: User
There are two ways to check the server traffic and check for exceptions. 1. Use the built-in command watchmore/proc/net/dev to view the changes in bytes and data packets every two seconds. But not so intuitive. 2. to use the nload command, install it on your own. 1) # yuminstallflexbyacclibpcapncursesncurses-dev

There are two ways to check the server traffic and check for exceptions.

1. Use the built-in command: watch more/proc/net/dev

You can view the changes in bytes and data packets every two seconds. But not so intuitive.

 

2. install the nload command on your own

1) # yum install flex byacc libpcap ncurses-devel libpcap-devel
2) # wget http://www.roland-riegel.de/nload/nload-0.7.4.tar.gz
3) # tar xvfz nload-0.7.4.tar.gz
4) # cd nload-0.7.4
5) #./configure
6) # make & make install

Run the nload command. The result is as follows:

 

 

 

By iefreer

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.