当前位置:   article > 正文

linux sar查看网络流量

linux查看网络sar
  1. sar -n DEV 1 10
  2. -n { keyword [,...] | ALL }
  3. Report network statistics.
  4. IFACE
  5. Name of the network interface for which statistics are reported.
  6. rxpck/s
  7. Total number of packets received per second.
  8. txpck/s
  9. Total number of packets transmitted per second.
  10. rxkB/s
  11. Total number of kilobytes received per second.
  12. txkB/s
  13. Total number of kilobytes transmitted per second.
  14. rxcmp/s
  15. Number of compressed packets received per second (for cslip etc.).
  16. txcmp/s
  17. Number of compressed packets transmitted per second.
  18. rxmcst/s
  19. Number of multicast packets received per second.
  20. [oracle@dwhtest ~]$ sar -n DEV 1 10
  21. Linux 2.6.32-220.el6.x86_64 (dwhtest) 05/21/2014 _x86_64_ (24 CPU)
  22. 03:41:25 PM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s
  23. 03:41:26 PM lo 3.96 3.96 0.23 0.23 0.00 0.00 0.00
  24. 03:41:26 PM em1 2.97 1.98 0.31 0.27 0.00 0.00 0.00
  25. 03:41:26 PM em2 0.00 0.00 0.00 0.00 0.00 0.00 0.00
  26. 03:41:26 PM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s
  27. 03:41:27 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00
  28. 03:41:27 PM em1 1.04 1.04 0.07 0.49 0.00 0.00 0.00
  29. 03:41:27 PM em2 0.00 0.00 0.00 0.00 0.00 0.00 0.00
  30. 03:41:27 PM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s
  31. 03:41:28 PM lo 5.88 5.88 0.28 0.28 0.00 0.00 0.00
  32. 03:41:28 PM em1 1.96 1.96 0.23 0.52 0.00 0.00 0.00
  33. 03:41:28 PM em2 0.00 0.00 0.00 0.00 0.00 0.00 0.00
  34. 03:41:28 PM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s
  35. 03:41:29 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00
  36. 03:41:29 PM em1 2.00 1.00 0.16 0.47 0.00 0.00 0.00
  37. 03:41:29 PM em2 0.00 0.00 0.00 0.00 0.00 0.00 0.00
  38. 03:41:29 PM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s
  39. 03:41:30 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00
  40. 03:41:30 PM em1 1.98 0.99 0.15 0.46 0.00 0.00 0.00
  41. 03:41:30 PM em2 0.00 0.00 0.00 0.00 0.00 0.00 0.00

转载于:https://www.cnblogs.com/zhaoyangjian724/p/3797869.html

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号