linux 查看即时网速 /流量

查看流量 :

watch -n 1 "/sbin/ifconfig eth0 | grep bytes"

终端下网速监测工具 -- Speedometer

Speedometer 可以同时检测多个网络接口、文件,并在一起显示出来,只要你的屏幕够大~
官网

1. Debian 或 Ubuntu

#安装
apt-get install speedometer


#网速
speedometer -t    # 发送

speedmeter -r    # 接受

2. Others

Download and install Urwid (recommended).

Download the speedometer source.

As root issue the following commands in the directory that you downloaded the source file:

# 安装
cp speedometer.py /usr/local/bin/speedometer
chown root: /usr/local/bin/speedometer
chmod 755 /usr/local/bin/speedometer


# 网速
./speedometer.py -t eth0    # 发送

./speedometer.py -r eth0    # 接收

你可能感兴趣的:(linux 查看即时网速 /流量)