服务器网络问题排查各种工具

本文介绍了多个用于服务器网络问题排查的工具,包括nload、iftop、ifstat、iptraf、top、ntop、netsniff-ng、watch ifconfig、watch cat /proc/net/dev以及perf、iotop、ltrace等。详细阐述了每个工具的安装方法、使用技巧和功能,帮助管理员有效监控和诊断网络状况。

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

一、nload工具

centOS安装:yum install nload(ubuntu 安装 sudo apt install nload 后面其他命令安装的地方类似)

项目地址Paul Warren / iftop · GitLab
使用方法:

nload version 0.7.4
Copyright (C) 2001 - 2012 by Roland Riegel <feedback@roland-riegel.de>
nload comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. For more details see the
GNU General Public License Version 2 (http://www.gnu.org/copyleft/gpl.html).

Command line syntax:
nload [options] [devices]
nload --help|-h

Options:
-a period       Sets the length in seconds of the time window for average
                calculation.
                Default is 300.
                -----------------------------------------
                |全部数据的刷新时间周期,单位是秒,默认是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.
                Default is 10240.
                -------------------------------------------------
                |网卡的流量图的显示比例最大值设置,默认10240 kBit/s.|
                -------------------------------------------------
-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.
                Default is 10240.
                ----------------------------------------------------
                |出去网卡的流量图的显示比例最大值设置,默认10240 kBit/s|
                ----------------------------------------------------
-t interval     Determines the refresh interval of the display in milliseconds.
                Default is 500.
                -----------------------------------------
             
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值