Nice Tool for Monitor Network

本文介绍如何使用iftop和nload工具在CentOS和Ubuntu系统上实时监控网络流量。通过简单的命令安装并运行这些工具,可以方便地查看发送与接收的数据速率、峰值及累计流量等信息。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Nice Tool for Monitor Network

I just did that on CentOS machine.

>sudo yum install -y nload

Using nload
>nload venet0 -u b|k|m|g
b = bytes
k = kilobytes
m= megabytes
g = gigabytes

Or Iftop on CentOS works as well.
>sudo yum install iftop
>sudo iftop

On my Ubuntu System
>sudo apt-get install iftop
>sudo iftop

Here is some information about iftop
TX sending
RX receiving
total: sending + receiving
Peak:
rate: average speed of 2s, 10s, 40s
cum: since it starts


References:
https://www.vultr.com/docs/how-to-monitor-network-traffic-in-real-time-on-centos-6
http://www.ex-parrot.com/pdw/iftop/
https://www.vpser.net/manage/iftop.html
http://kodango.com/using-iftop-to-monitor-network
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值