您的位置:首页 > 理论基础 > 计算机网络

nload-linux命令行查看网络流量工具

2007-10-26 12:33 761 查看
nload–monitors network traffic and bandwidth usage
http://www.roland-riegel.de/nload/index.html
The simplest way to compile this package is:

1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.

Running `configure' takes a while. While running, it prints some
messages telling which features it is checking for.

2. Type `make' to compile the package.

3. Type `make install' to install the programs and any data files and
documentation.
By default, `make install' will install the package's files in
`/usr/local/bin', `/usr/local/man', etc. You can specify an
installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'.

You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
give `configure' the option `--exec-prefix=PATH', the package will use
PATH as the prefix for installing programs and libraries.
Documentation and other data files will still use the regular prefix.

If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.

4. You can remove the program binaries and object files from the
source code directory by typing `make clean'.

使用方法(假设安装在/usr/local/nload):
[test@test nload-0.6.0]$ /usr/local/nload/bin/nload

nload默认的是eth0网卡,如果你想监测eth1网卡的流量:/usr/local/nload/bin/nload eth1

参考其它工具:http://www.xiaojb.com/archives/tips/linux-nic-traffic.shtml
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: