admin管理员组

文章数量:1516870

1.工具一:slurm

安装

sudo apt-get install slurm (Ubuntu系统)查看网速命令

slurm -i eth0 (etho为网卡名,可以使用ifconfig列出网卡)


2.工具二:nload

ubuntu的安装可以使用apt进行,其他系统安装过程如下

wget
tar zxvf nload-0.7.2.tar.gz
cd nload-0.7.2
./configure;make;make install

安装完成后,直接用nload (也可后面跟上网卡号查看指定网卡号)

-u参数可以指定显示的网速的单位,如nload -u M是以MB为单位,nload -u K是以KB为单位


3.工具三:IPTraf

IPTraf功能比上述的更强大,可以监控所有的流量,IP流量,按协议分的流量,还可以设置过滤器等

源码安装

wget ftp://iptraf.seul.org/pub/iptraf/iptraf-3.0.0.tar.gz
tar zxvf iptraf-3.0.0.tar.gz
cd iptraf-3.0.0
./Setup

本文标签: 为单位快速掌握编程