Linux View network card throughput and network card traffic with the command, Iptraf view.

Source: Internet
Author: User

1 command line Input directly: Iptraf (if not, install with yum install Iptraf)

2. Open Enter to select IP image.

3. Select the interface for the monitoring test, all interfaces.

4. Turn on the listening status log and the system default log path. /var/log/iptraf/ip_traffic.log

4. After running, turn on the monitor network card traffic

5.iptraf Reference Usage:

Man Iptraf View

There are also many tool commands to view:

Watch command:

Watch-n 1 "/sbin/ifconfig eth0 | grep bytes ".

Other answers

1, Iptraf tool (http://iptraf.seul.org), provides a dashboard for each NIC throughput: iptraf-d eth0.
2. Watch command: watch-n 1 "/sbin/ifconfig eth0 | grep bytes "

Linux View network card throughput and network card traffic with the command, Iptraf view.

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.