| 用途 | 实时查看网卡吞吐速率 |
|---|---|
| 语法 | ifstat [-i 接口] [间隔] / nload |
| 所属 | ifstat / nload(多为 EPEL) |
常用示例
常用示例
ifstat -i eth0 1 5
nload eth0
# 不带工具时的替代:
awk 'NR>2{print $1, $2, $10, $16}' /proc/net/devifstat 输出 KB/s 两列(in/out);对比链路带宽先确认单位与双工速率(ethtool eth0)。
ifstat 给出简洁的每秒收发速率,nload 带图形条;临时压测/备份时看带宽占用最直接。
| 用途 | 实时查看网卡吞吐速率 |
|---|---|
| 语法 | ifstat [-i 接口] [间隔] / nload |
| 所属 | ifstat / nload(多为 EPEL) |
ifstat -i eth0 1 5
nload eth0
# 不带工具时的替代:
awk 'NR>2{print $1, $2, $10, $16}' /proc/net/dev