CentOS to view the real-time traffic command for the NIC _linux shell

Source: Internet
Author: User

The real-time traffic of the NIC can be viewed through the Iptraf command, and the image is very intuitive.

I'm going to look at the network traffic on the test server today.

Copy Code code as follows:

[Root@localhost ~]# iptraf-d eth0
-bash:iptraf:command not found

found that the operation of the maintenance colleagues did not give installation, can only manually install the

First install the required package:

Copy Code code as follows:

Yum-y Install GCC
Yum-y Install glibc
Yum-y Install ncurses

After the installation, we will now start to install Iptraf

Copy Code code as follows:

Yum-y Install Iptraf

After the completion of the search locate Iptraf

The above mentioned is the entire content of this article, I hope you can enjoy.

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.