linux网络流量实时监控工具之nload

Install nload on a CentOS/RHEL/Red Hat/Fedora Linux

First, turn on EPEL repo on a CentOS or RHEL based system. Type the following yum command to install nload:
# yum install nload

Install nload on a Debian or Ubuntu Linux

Type the following apt-get command:
$ sudo apt-get install nload

How do I use nload to display the current network usage?

The basic syntax is:

nload
nload device
nload [options] device1 device2

Just type the following command:
$ nload
$ nload eth0
$ nload em0 em2

Controlling nload app

Once nload command executed, it begins to monitor the network devices. You can control nload with the following key shortcuts:

  1. You can switch between the devices by pressing the left and right arrow keys or Enter/Tab key.
  2. Press F2 to show the option window
  3. Press F5 to save current settings to the user’s config file.
  4. Press F6 reload settings from the config files.
  5. Press q or hit Ctrl+C to quit nload.

Setting the refresh interval of the display

The default value of interval is 100 milliseconds to refresh interval of the display. In this example, change to 500 milliseconds:
$ nload -t {interval_number_in_millisec}
$ nload -t 500

Setting the type of unit used for the display of traffic numbers

The syntax is:
$ nload -u h|H|b|B|k|K|m|M|g|G
$ nload -U h|H|b|B|k|K|m|M|g|G
$ nload -u h
$ nload -u G
$ nload -U G

Where,

    • The lower case -u
      option: h means human readable (auto), b Bit/s, k kBit/s, m MBit/s and g
      GBit/s. The upper case letters mean the corresponding units in Bytes
      (instead of Bits). The default is k.
    • The upper case -U option is same as lower case -u option, but for an amount of data, e.g. Bit, kByte, GBit etc. (without "/s"). The default is M.
      • REF:
      • https://www.cyberciti.biz/networking/nload-linux-command-to-monitor-network-traffic-bandwidth-usage/

原文地址:https://www.cnblogs.com/emanlee/p/10324860.html

时间: 2024-07-31 02:54:45

linux网络流量实时监控工具之nload的相关文章

linux网络流量实时监控工具之iptraf

这个工具还是很强大 [我的Linux,让Linux更易用]IPTraf是一个网络监控工具,功能比nload更强大,可以监控所有的流量,IP流量,按协议分的流量,还可以设置过滤器等,如下图 对监控网络来说,这个更适合也更强大,但在总的流量显示上,没nload直观和方便 官网及下载 http://iptraf.seul.org/download.htmlftp://the.wiretapped.net/pub/security/network-monitoring/iptraf/iptraf-3..

Linux下网络流量实时监控工具

Linux下网络流量实时监控工具大全 在工作中发现,经常因为业务的原因,需要即时了解某台服务器网卡的流量,虽然公司也部署了cacti软件,但cacti是五分钟统计的,没有即时性,并且有时候打开监控页面不方便,个人喜欢随手在某台服务器上输入一个命令,查看网卡即时流量.百度了一下,发现有这么几种方法,现对此类软件进行了一个总结.一.iptraf软件   rhel的iso里有包含,我公司的系统,并没有默认安装,它功能强大,可以按照协议,网卡等进行分析.1.1 iptraf安装源码安装wget ftp:

Linux网络流量实时监控ifstat iftop命令详解(转载)

转自:http://www.cnblogs.com/ggjucheng/archive/2013/01/13/2858923.html ifstat 介绍 ifstat工具是个网络接口监测工具,比较简单看网络流量 实例 默认使用 #ifstat eth0 eth1 KB/s in KB/s out KB/s in KB/s out 0.07 0.20 0.00 0.00 0.07 0.15 0.58 0.00 默认ifstat不监控回环接口,显示的流量单位是KB. 监控所有网络接口 # ifst

Linux网络流量实时监控ifstat iftop命令详解

ifstat 介绍 ifstat工具是个网络接口监测工具,比较简单看网络流量 实例 默认使用 #ifstat eth0 eth1 KB/s in KB/s out KB/s in KB/s out 0.07 0.20 0.00 0.00 0.07 0.15 0.58 0.00 默认ifstat不监控回环接口,显示的流量单位是KB. 监控所有网络接口 # ifstat -a lo eth0 eth1 KB/s in KB/s out KB/s in KB/s out KB/s in KB/s ou

Linux下网络流量实时监控工具大全

在工作中发现,经常因为业务的原因,需要即时了解某台服务器网卡的流量,虽然公司也部署了cacti软件,但cacti是五分钟统计的,没有即时性,并且有时候打开监控页面不方便,个人喜欢随手在某台服务器上输入一个命令,查看网卡即时流量.百度了一下,发现有这么几种方法,现对此类软件进行了一个总结.一.iptraf软件   rhel的iso里有包含,我公司的系统,并没有默认安装,它功能强大,可以按照协议,网卡等进行分析.1.1 iptraf安装源码安装wget ftp://iptraf.seul.org/p

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

Ntopng 网络流量实时监控系统搭建

下面实现Ntopng的rpm包安装 关于使用源码包也很简单,主要是Centos要提前配置EPEL-RELEASE方便依赖包安装, 在编译源码包就OK Ntopng介绍: Ntopng是原ntop下一代版本,网络流量实时监控显示.Ntopng类似于RMON远端网络监控代理,具有内置的Web服务能力,使用redis键值服务按时间序列存储统计信息.你可以在任何指定的监控服务器上安装ntopng,只需使用任一web浏览器,就能实时访问服务器上的流量报告了. ntopng用户可以使用一个网页浏览器浏览的N

ntopng网络流量实时监控

High-Speed Web-based Traffic Analysis and Flow Collection ntopng is the next generation version of the original ntop, a network traffic probe that monitors network usage. ntopng is based on libpcapand it has been written in a portable way in order to

ifstat和iftop网络流量实时监控

ifstat 系统自带的网络接口流量检测工具,比较简单 [[email protected] ~]# ifstat -a #16202.1804289383 sampling_interval=1 time_const=60 Interface        RX Pkts/Rate    TX Pkts/Rate    RX Data/Rate    TX Data/Rate RX Errs/Drop    TX Errs/Drop    RX Over/Rate    TX Coll/Rat