sar -n DEV 1 10 -n { keyword [,...] | ALL } Report network statistics. IFACE Name of the network interface for which statistics are reported. rxpck/s Total number of packets received per second. txpck/s Total number of packets transmitted per second. rxkB/s Total number of kilobytes received per second. txkB/s Total number of kilobytes transmitted per second. rxcmp/s Number of compressed packets received per second (for cslip etc.). txcmp/s Number of compressed packets transmitted per second. rxmcst/s Number of multicast packets received per second. [oracle@dwhtest ~]$ sar -n DEV 1 10 Linux 2.6.32-220.el6.x86_64 (dwhtest) 05/21/2014 _x86_64_ (24 CPU) 03:41:25 PM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 03:41:26 PM lo 3.96 3.96 0.23 0.23 0.00 0.00 0.00 03:41:26 PM em1 2.97 1.98 0.31 0.27 0.00 0.00 0.00 03:41:26 PM em2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:41:26 PM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 03:41:27 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:41:27 PM em1 1.04 1.04 0.07 0.49 0.00 0.00 0.00 03:41:27 PM em2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:41:27 PM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 03:41:28 PM lo 5.88 5.88 0.28 0.28 0.00 0.00 0.00 03:41:28 PM em1 1.96 1.96 0.23 0.52 0.00 0.00 0.00 03:41:28 PM em2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:41:28 PM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 03:41:29 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:41:29 PM em1 2.00 1.00 0.16 0.47 0.00 0.00 0.00 03:41:29 PM em2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:41:29 PM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 03:41:30 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:41:30 PM em1 1.98 0.99 0.15 0.46 0.00 0.00 0.00 03:41:30 PM em2 0.00 0.00 0.00 0.00 0.00 0.00 0.00
linux sar查看网络流量
转载本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
FreeBSD查看即时网络流量
FreeBSD查看即时网络流量
职场 网络流量 FreeBSD 其他 休闲