Ifstat view system network traffic

Source: Internet
Author: User
Tags snmp

In the Linux/Unix monitoring system, the real-time traffic of the network card, iftop is a good
If you select iftop, the source, target, and port are displayed in detail. iftop provides more information than ifstat. However, if you only monitor the network card Traffic, ifstat is of course the best choice.

Http://gael.roualland.free.fr
/Ifstat/download. She also provides the window version.

Ifstat -------- report interface status, which is a network traffic monitoringProgram. View
The outbound and inbound bytes of the NIC.
Simple Description: ifstat is a tool used to measure the activity status of network interfaces, just as iostat/vmstat describes other system conditions.

Parameter
Quantity:
-L
Monitoring Loop Network Interface (LO ). By default, ifstat monitors all non-loop network interfaces of the activity. It is found that adding the-l parameter can monitor the information of all network interfaces, instead of monitoring only
Lo interface information, that is, adding the-l parameter is more than adding the-l parameter.

-
Monitors the status information of all network interfaces that can be detected. In addition to the-l parameter, the usage Discovery requires an interface information of plip0, which is found to be a parallel port (the network device has a IP address called PLIP ).
(Parallel line Internet Protocol). It provides a parallel port ...)

-Z
Hide interfaces with no traffic. For example, interfaces that are started but not used

-I indicates the interface to be monitored, followed by the Network Interface Name

-S equals to-d
SNMP: [comm @] [#] host [/nn] parameter. You can use SNMP to query a remote host.

-H: displays brief help information.

-N

Disable Periodic display of the header information (that is, when the-n parameter is not added to run ifstat, the name of the network interface will appear at the top. When the display fails, the interface name will appear again, prompting
The traffic information we display is specific to the network interface. Add the-n parameter to disable the periodic display interface name, only once)

-T add a time at the beginning of each row


Timestamp (tell us the specific time)

-T
Report the total bandwidth of all monitoring interfaces (the last column has a total, showing the in traffic of all interfaces and the out traffic of all interfaces. Simply add the in traffic of all interfaces, out traffic phase
Add)

-W uses the specified column width instead of automatically enlarging the column width to adapt to the length of the Interface Name.

-W
If the content is wider than the width of the terminal window, wrap the line automatically.

-S
Keep status update in the same row (do not scroll without line feed) Note: This option is very convenient if you do not like screen scrolling, similar to the bmon Display Method

-B
Use kbits/s to display bandwidth instead of Kbytes/s (you should know the difference between bit and byte)

-Q quiet mode. The warning message is not displayed.

-V
Show version information

-D specifies a driver to collect status information.

It can be seen that there are many ifstat parameters, and different display parties can be controlled through different parameters.
Style and display information

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.