ITPub博客

首页 > Linux操作系统 > Linux操作系统 > linux下使用nload查看网卡实时流量(zt)

linux下使用nload查看网卡实时流量(zt)

原创 Linux操作系统 作者:tonykorn97 时间:2009-02-26 12:48:44 0 删除 编辑

nload是一个网络流量统计工具,当前版本为0.7.2。
下载地址:http://sourceforge.net/project/showfiles.php?group_id=35865[@more@]

使用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/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2007-12-05

  • 博文量
    1854
  • 访问量
    2088297