使用yum 安装也可以。
yum install nload
源码安装
2. Installing / Compiling nload
----------------------------
Compiling is done by running
./configure
make
in the directory where this README is.
To install nload, you have to be root:
su
make install
You can find more detailed information in the file INSTALL in this directory.
3. Using nload
-----------
To learn about the command line switches and the usage of nload in general,
simply run:
nload --help
Alternatively, there is a nload man page available by typing:
man nload
4. Uninstalling nload
------------------
If you want to uninstall nload (I hope you never want to ;-), run:
make uninstall
in the build directory.
使用源码方式安装到/usr/local/nload,将/usr/local/nload/bin目录加入/etc/profile。
重新登陆ssh后,直接输入nload即可查看网卡的当前流量情况。
nload eth0 — 查看名叫eth0网卡的流量
可查看当前、平均、最小、最大、总共等的流量情况,单位为bit,详细的使用说明请参见:
http://www.debuntu.org/2006/07/14/74-nload-a-network-traffic-analyser
比较好的例子:
nload -o 20480 -i 204800 -u M
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/312079/viewspace-1017860/ ,如需转载,请注明出处,否则将追究法律责任。