Nload(CentOS网速的实时监控)

Nload(CentOS网速的实时监控)的安装和安装过程中的问题

I. 安装

  1. Download the latest rpmforge-release rpm from
    wget ftp://ftp.pbone.net/mirror/apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
  2. Install rpmforge-release rpm:
    rpm -Uvh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
  3. Install nload rpm package:
    yum install -y nload

II. 使用

查看帮助

nload -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. 指定入口流量最大值 单位是kBit/s 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. 和-i相同,但是是出口流量 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. 和-u相同,但是为总流量 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. 运行时使用F2可以查看此页 

图形查看

nload -t 200 -i 1024 -o 128 -U M
# 左右键可以在多个网卡之间切换

网卡流量

nload eth0
nload -m

转载于:https://www.cnblogs.com/qiyebao/p/9803655.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值