Linux View network traffic commands

Source: Internet
Author: User
Tags switches nfsd
SAR command parameters A lot, there is time man a bit. The-n parameter is useful, he has 6 different switches: DEV | Edev | NFS | NFSD | SOCK | All. The dev Displays the network interface information, Edev displays statistics about network errors, NFS Statistics active NFS Client information, NFSD statistics Server for NFS, sock displays socket information, all shows all 5 switches. They can be used alone or together. We're going to use the-N dev now. Input command: Sar–n DEV 1 4
After the command 1 4 means: Take the value once every second, take four times. Iface:lan interface rxpck/s: Packets Received per second TXPCK/S: Packets sent per second rxbyt/s: Bytes received per second txbyt/s: Bytes sent per second RXCMP/S: Compressed packets received per second txcmp/ S: Compressed packets sent per second rxmcst/s: Multicast packets received per second Iface:lan interface rxerr/s: Bad packets received per second txerr/s: Bad packets sent per second coll/s: collisions per second rxdrop/s: Because the buffers are full, Number of received packets dropped per second txdrop/s: The number of sent packets dropped per second txcarr/s: The number of carrier errors per second when sending packets rxfram/s: The number of frame alignment errors received per second for packets rxfifo/ S: Number of errors received per second FIFO error TXFIFO/S: The number of errors sent per second FIFO too fast goto: http://blog.csdn.net/wzx19840423/article/details/50854360

Linux View network traffic commands

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.