- top命令,查看系统负载、cpu使用情况、内存使用情况,和进程列表
- free -m 查看内存使用情况
- iostat -x 1 10 查看io使用情况
- vmstat 1 10 查看系统整体使用情况
- sar -n DEV 1 10查看网络
- nethogs 查看进程的网络流量
- iftop 查看源ip和目标ip的网络流量
- ifconfig -a查看网卡
- ethtool ens33/ mii-tool ens33 查看网卡规格、速度
- dstat 可以看到网卡进出速率
- nc 可以监听某个端口、也可以连接远程某个端口
- 通过ethtool ens33 | grep Speed 或dmesg | grep ens33可以查看网卡最高速率,但这只是标识的最高速度,通过iperf -s 和iperf -c remoteIp可以查看到运行时的网速。一般内网交换机网速是100Mbit/s。