Linux流量实时监控软件nload
Nload: linux的一款网络流量实时监控软件。
下载地址:
Cnetos /RHEL 6 32bit:http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/nload-0.7.4-1.el6.rf.i686.rpm
Centos /RHEL 6 64bit:http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/nload-0.7.4-1.el6.rf.x86_64.rpm
更多版本查看:http://pkgs.repoforge.org/nload/
getconf LONG_BIT 查看当前系统位数
下载nload:
[root@localhost ~]# wget http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/nload-0.7.3-1.el6.rf.x86_64.rpm
安装:
[root@localhost ~]# rpm -ivh nload-0.7.3-1.el6.rf.x86_64.rpm
warning: nload-0.7.3-1.el6.rf.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Preparing... ########################################### [100%]
1:nload ########################################### [100%]
查看装了哪些东西:
[root@localhost ~]# rpm -ql nload
/usr/bin/nload
/usr/share/doc/nload-0.7.3
/usr/share/doc/nload-0.7.3/AUTHORS
/usr/share/doc/nload-0.7.3/COPYING
/usr/share/doc/nload-0.7.3/ChangeLog
/usr/share/doc/nload-0.7.3/NEWS
/usr/share/doc/nload-0.7.3/README
/usr/share/man/man1/nload.1.gz
使用方法:
[root@localhost ~]# nload -h
nload version 0.7.3
Copyright (C) 2001 - 2011 by Roland Riegel <feedback@roland-riegel.de>
nload comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. For more details see the
GNU General Public License Version 2 (http://www.gnu.org/copyleft/gpl.html).
Command line syntax:
nload [options] [devices]
nload --help|-h
Options:
-a period Sets the length in seconds of the time window for average
calculation.
Default is 300.
-i max_scaling Specifies the 100% mark in kBit/s of the graph indicating the
incoming bandwidth usage. Ignored if max_scaling is 0 or the
switch -m is given.
Default is 10240.
-m Show multiple devices at a time; no traffic graphs.
-o max_scaling Same as -i but for the graph indicating the outgoing bandwidth
usage.
Default is 10240.
-t interval Determines the refresh interval of the display in milliseconds.
Default is 500.
-u h|b|k|m|g Sets the type of unit used for the display of traffic numbers.
H|B|K|M|G h: auto, b: Bit/s, k: kBit/s, m: MBit/s etc.
H: auto, B: Byte/s, K: kByte/s, M: MByte/s etc.
Default is h.
-U h|b|k|m|g Same as -u, but for a total amount of data (without "/s").
H|B|K|M|G Default is H.
devices Network devices to use.
Default is to use all auto-detected devices.
--help
-h Print this help.
example: nload -t 200 -i 1024 -o 128 -U M
The options above can also be changed at run time by pressing the ‘F2‘ key.
本文出自 “zrer” 博客,请务必保留此出处http://zrer90.blog.51cto.com/8679896/1409900