一 概述
我们可以借助网络包net-tools查看linux系统的网络带宽。
二 查看过程
1. ifconfig
如果-bash: ifconfig: command not found可以参考下面文章: -bash: ifconfig: command not found_calm_encode的博客-CSDN博客https://blog.csdn.net/calm_encode/article/details/122994177 2. 通过命令查看带宽
找到服务ip对应网络适配器
执行命令:ethtool eth1
如图所示,可知当前服务器的eth1适配器支持的带宽为1000Mb/s