服务器在做测试的时候,需要监控网络流量,用来了解在不同人数的时候服务器的网络使用量。

     我们使用服务器环境是centos7,centos下通常使用iftop,或者nethogs来进行网络流量监控。这2个工具都需要先安装epel,因为这个库通常操作系统是不自带的。

  那么就先安装epel,使用的命令是:

     rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

     在epel安装成功之后,接下来我们就可以用yum安装iftop和nethogs。

 

相关文章:

  • 2021-10-20
  • 2021-06-14
  • 2022-02-03
  • 2022-01-29
  • 2021-07-05
  • 2022-12-23
猜你喜欢
  • 2021-07-15
  • 2022-12-23
  • 2021-12-31
  • 2022-03-04
  • 2022-12-23
  • 2021-12-27
相关资源
相似解决方案