前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >centos实时网速监控工具nload

centos实时网速监控工具nload

作者头像
老高的技术博客
发布2022-12-27 21:44:14
1K0
发布2022-12-27 21:44:14
举报

nload是一个很小巧的工具,用来监控当前系统的网速

安装

代码语言:javascript
复制
wget http://www.roland-riegel.de/nload/nload-0.7.4.tar.gz
tar -xf nload-0.7.4.tar.gz
cd nload-0.7.4
./configure
make && make install

使用

查看帮助

代码语言:javascript
复制
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可以查看此页

图形查看

代码语言:javascript
复制
nload -t 200 -i 1024 -o 128 -U M
# 左右键可以在多个网卡之间切换

网卡流量

代码语言:javascript
复制
nload eth0
nload -m
本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2014-12-27,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 安装
  • 使用
    • 查看帮助
      • 图形查看
        • 网卡流量
        领券
        问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档