码迷,mamicode.com
首页 > 其他好文 > 详细

nload 安装和使用

时间:2019-05-23 21:28:19      阅读:868      评论:0      收藏:0      [点我收藏+]

标签:without   装包   can   graphs   def   https   linu   load   his   

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

安装

MAC

brew install nload

Linux

下载地址:https://sourceforge.net/projects/nload/

机器预先安装gcc和gcc-c++

#解压安装包
tar -zxvf *******
configure
make && make install
# 

使用

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 安装和使用

标签:without   装包   can   graphs   def   https   linu   load   his   

原文地址:https://www.cnblogs.com/lowezheng/p/10914165.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!