vps服务器带宽利用率过高分析及其处理方法

当发现vps服务器带宽利用率过高的时候,通常RAK部落小编是希望第一时间找到哪一个进程占用了带宽,从而才能够分析并且处理,接下来我们就具体介绍一下Linux和Windows系统下如何使用对应的工具找到并且处理占用带宽高的进程。

Linux下查看进程的带宽使用情况

NetHogs 介绍

NetHogs 是 Linux 平台下的一个开源命令行工具,用来实时统计各进程的带宽使用情况。在 CentOS 下可以使用如下命令进行安装:

yum install nethogs

NetHogs 使用方法

终端输入以下命令可以看到 NetHogs 的可用参数以及具体用法。

nethogs -h
vps服务器带宽利用率过高分析及其处理方法
RAK部落

下面介绍下常用的参数:

-d:设置刷新的时间间隔,默认为 1s。

-t:跟踪模式。

-c:更新次数。

device:设置要监控的网卡,默认是 eth0。

运行时可以输入以下参数完成相应的操作:

q:退出。

s:按发送流量进行排序。

r:按接收流量进行排序。

m:切换是显示各进程使用的网络速率亦或是使用的流量,或者使用流量的计量单位。切换顺序为 KB/s > KB > B > MB。

下图展示了在 Linux 上运行 nethogs -d 10 并按发送数据量进行排序的结果,以此为示例,介绍 NetHogs 的输出。通过切换按发送/接收流量排序,可以很方便的获取占用发送/接收流量较多的进程。

vps服务器带宽利用率过高分析及其处理方法
RAK部落

PID:进程 ID。
USER:运行该进程的用户。
PROGRAM:程序名或IP端口号。
DEV:流量要去往的网络接口。
SENT:进程每秒发送的数据量。
RECEIVED:进程每秒接收的数据量。

Windows下查看进程的带宽使用情况

Windows 资源监视器

资源监视器是 Windows下以进程为单位了解 CPU、内存、磁盘、网络等资源的使用情况的工具。
可以在任务管理器,性能 tab 单击打开资源监视器打开。

vps服务器带宽利用率过高分析及其处理方法
RAK部落

或者在运行中输入 resmon.exe,确定打开

vps服务器带宽利用率过高分析及其处理方法
RAK部落

单击资源监视器的网络 tab,就可以看到每个进程的带宽使用情况。单击发送,按发送数据量进行排序,单击接收按照接收数据量进行排序。排序后,可以方便的看到具体是哪个进程占用了网络资源。

vps服务器带宽利用率过高分析及其处理方法
RAK部落

结果分析及处理

知道占用资源较多的进程后,需要分析进程所属的类型,然后进行:

分析是否正常进程(系统进程/业务常见进程)起。如果无法完全确认,建议使用进程名进程搜索确认。

如果是异常进程,实例可能中毒,可以自行终止进程、使用安全软件进行查杀或者进行数据备份后,重装系统。

正常的业务进程,分析是否有大量的网络访问行为,是否通过压缩文件解决网络带宽的资源瓶颈。否则建议升级实例配置。

关于“ vps服务器带宽利用率过高分析及其处理方法 ”我们就介绍到这,如果在操作中有任何问题,记得下方评论,RAK部落小编看到会第一时间处理。

此文章来自固定链接:http://www.rakbuluo.com/p117

原文链接:,转发请注明来源!

发表评论

  • 70 Responses to “vps服务器带宽利用率过高分析及其处理方法”
    • Ywpernus

      viagra your eyes doctors in the usa use of viagra in females <a href="https://viawithoutdctrs.com/#">viagra without prescription</a> - cialis ads 2012 https://viawithoutdctrs.com/# - order cialis online cheap which of the following drugs are commonly used in otc sleep aids?

      回复
    • Yhfpksz

      daily blood pressure log printable cialis prescription info
      <a href="https://kamagrajellynow.com">kamagra oral jelly</a> Yrnk64z
      https://kamagrajellynow.com kamagra 100mg

      回复
    • Araidssut

      patient asked erectile dysfunction <a href=https://www.withoutbro.com>viagra without a doctor prescription</a> organic beet root powder/erectile dysfunction?
      wives coping with erectile dysfunction: https://www.withoutbro.com viagra without a doctor prescription

      回复
    • Livslci

      quanto costa il cialis 5 mg in farmacia worst blood pressure medications cialis moins cher marseille <a href="https://tadalafilkiva.com/#">generic cialis tadalafil</a> - cialis brampton https://tadalafilkiva.com/# - cialis tagline what is commercial health insurance coverage

      回复
    • online pharmacies legitimate

      <a href="http://canadianpharmacyhub.com/">discount canadian drugs</a>
      http://canadianpharmacyhub.com/
      <a href=http://canadianpharmacyhub.com/>safe online pharmacies</a>

      回复
    • international pharmacies that ship to the usa

      <a href="http://canadianpharmacyguru.com/">mail order prescription drugs from canada</a>
      http://canadianpharmacyguru.com/
      <a href=http://canadianpharmacyguru.com/>aarp recommended canadian online pharmacies</a>

      回复
    • approved canadian online pharmacies

      <a href="http://canadianpharmacyguru.com/">canada online pharmacy</a>
      http://canadianpharmacyguru.com/
      <a href=http://canadianpharmacyguru.com/>canadian drug stores</a>

      回复
    • Oamburce

      Wow loads of very good info. <a href=https://www.kamagradr.com>kamagra</a> buy kamagra gel online
      cialis kamagra fast: https://www.kamagradr.com kamagra uk

      回复
    • mexican online pharmacies

      <a href="http://canadianpharmacyfit.com/">canada online pharmacy</a>
      http://canadianpharmacyfit.com/
      <a href=http://canadianpharmacyfit.com/>legitimate canadian pharmacy</a>

      回复
    • best online pharmacies

      <a href="http://canadianpharmacyfit.com/">trust online pharmacy</a>
      http://canadianpharmacyfit.com/
      <a href=http://canadianpharmacyfit.com/>international pharmacies that ship to the usa</a>

      回复
    • canadian drugs

      <a href="http://canadianpharmacycenterhd.com/">canada pharmaceuticals online</a>
      http://canadianpharmacycenterhd.com/
      <a href=http://canadianpharmacycenterhd.com/>highest rated canadian pharmacies</a>

      回复
    • Epdap01

      viagra cialis levitra differences kamagra singapore
      Yevtodv <a href="https://withoutshort.com">do you take viagra with water</a>
      https://withoutshort.com generic viagra 100mg

      回复
    • online canadian pharmacy

      <a href="http://canadianpharmacycenterhd.com/">canada drug</a>
      http://canadianpharmacycenterhd.com/
      <a href=http://canadianpharmacycenterhd.com/>mexican pharmacy online</a>

      回复
    • canadian pharmacies shipping to usa

      <a href="http://canadianpharmaciespreshd.com/">canadian online pharmacy no prescription</a>
      http://canadianpharmaciespreshd.com/
      <a href=http://canadianpharmaciespreshd.com/>canadian drug stores</a>

      回复
    • canadian pharmacy reviews

      <a href="http://canadianpharmacyhub.com/">canadian pharmacies mail order</a>
      http://canadianpharmacyhub.com/
      <a href=http://canadianpharmacyhub.com/>safe online pharmacies</a>

      回复
    • online pharmacies legitimate

      <a href="http://canadianpharmaciespreshd.com/">aarp recommended canadian pharmacies</a>
      http://canadianpharmaciespreshd.com/
      <a href=http://canadianpharmaciespreshd.com/>best online canadian pharmacy</a>

      回复
    • online pharmacies legitimate

      <a href="http://canadianpharmacieshq.com/">legitimate canadian pharmacies online</a>
      http://canadianpharmacieshq.com/
      <a href=http://canadianpharmacieshq.com/>canadian pharmacies online</a>

      回复
    • top rated canadian pharmacies online

      <a href="http://canadianpharmacyguru.com/">overseas pharmacy</a>
      http://canadianpharmacyguru.com/
      <a href=http://canadianpharmacyguru.com/>online pharmacy canada</a>

      回复
    • best canadian pharmacies

      <a href="http://canadianpharmacieshq.com/">canadian online pharmacies</a>
      http://canadianpharmacieshq.com/
      <a href=http://canadianpharmacieshq.com/>canadian drugs</a>

      回复
    • most trusted canadian pharmacy

      <a href="http://canadianpharmacyfit.com/">trust online pharmacies</a>
      http://canadianpharmacyfit.com/
      <a href=http://canadianpharmacyfit.com/>reliable canadian pharmacy</a>

      回复
    • best canadian pharcharmy online

      <a href="http://canadianpharmaciesdepot.com/">mexican border pharmacies</a>
      http://canadianpharmaciesdepot.com/
      <a href=http://canadianpharmaciesdepot.com/>canada pharmacies online prescriptions</a>

      回复
    • discount canadian drugs

      <a href="http://canadianpharmaciesdepot.com/">canadian online pharmacy reviews</a>
      http://canadianpharmaciesdepot.com/
      <a href=http://canadianpharmaciesdepot.com/>highest rated canadian pharmacies</a>

      回复
    • canadian pharmaceuticals online reviews

      <a href="http://canadianpharmacycenterhd.com/">aarp approved canadian online pharmacies</a>
      http://canadianpharmacycenterhd.com/
      <a href=http://canadianpharmacycenterhd.com/>canadian internet pharmacy</a>

      回复
    • online pharmacies

      <a href="http://canadianfastpharmacy.com/">online pharmacies canada</a>
      http://canadianfastpharmacy.com/
      <a href=http://canadianfastpharmacy.com/>best online international pharmacies</a>

      回复
    • canadian pharmaceuticals online

      <a href="http://canadianpharmaciespreshd.com/">mail order prescription drugs from canada</a>
      http://canadianpharmaciespreshd.com/
      <a href=http://canadianpharmaciespreshd.com/>reputable canadian pharmacy</a>

      回复
    • canada drugs online review

      <a href="http://canadianfastpharmacy.com/">overseas online pharmacies</a>
      http://canadianfastpharmacy.com/
      <a href=http://canadianfastpharmacy.com/>legitimate online pharmacies</a>

      回复
    • canadian pharmaceuticals online

      <a href="http://canadianpharmacynethd.com/">reputable online pharmacy</a>
      http://canadianpharmacynethd.com/
      <a href=http://canadianpharmacynethd.com/>discount canadian drugs</a>

      回复
    • canadian online pharmacy reviews

      <a href="http://canadianpharmacieshq.com/">canada pharmacies online</a>
      http://canadianpharmacieshq.com/
      <a href=http://canadianpharmacieshq.com/>canada pharmacies online</a>

      回复
    • canadian online pharmacy reviews

      <a href="http://canadianpharmacynethd.com/">overseas online pharmacies</a>
      http://canadianpharmacynethd.com/
      <a href=http://canadianpharmacynethd.com/>legitimate canadian pharmacy online</a>

      回复
    • Uamburce

      Regards. Plenty of tips. <a href=https://www.kamagradr.com>kamagra pills</a> kamagra long term
      kamagra oral bestellen: https://www.kamagradr.com kamagra 100mg oral jelly

      回复
    • list of legitimate canadian pharmacies

      <a href="http://canadianpharmaciesdepot.com/">overseas pharmacies</a>
      http://canadianpharmaciesdepot.com/
      <a href=http://canadianpharmaciesdepot.com/>canadian pharmacy reviews</a>

      回复
    • canada drug pharmacy

      <a href="http://canadiannextpharmacy.com/">reputable online pharmacy</a>
      http://canadiannextpharmacy.com/
      <a href=http://canadiannextpharmacy.com/>certified canadian online pharmacies</a>

      回复
    • legitimate online pharmacies

      <a href="http://canadianfastpharmacy.com/">canadian online pharmacy reviews</a>
      http://canadianfastpharmacy.com/
      <a href=http://canadianfastpharmacy.com/>reputable canadian pharmacy</a>

      回复
    • canadian internet pharmacy

      <a href="http://canadianpharmacieselite.com/">online pharmacies canada</a>
      http://canadianpharmacieselite.com/
      <a href=http://canadianpharmacieselite.com/>canada pharmacies online</a>

      回复
    • trust online pharmacy

      <a href="http://canadianpharmacieselite.com/">canadian drug stores</a>
      http://canadianpharmacieselite.com/
      <a href=http://canadianpharmacieselite.com/>canada drug</a>

      回复
    • overseas pharmacies

      <a href="http://canadianpharmacynethd.com/">canada drug</a>
      http://canadianpharmacynethd.com/
      <a href=http://canadianpharmacynethd.com/>reliable mexican pharmacies</a>

      回复
    • canadian pharmacy reviews

      <a href="http://canadianonlinepharmacynote.com/">top 10 online pharmacies</a>
      http://canadianonlinepharmacynote.com/
      <a href=http://canadianonlinepharmacynote.com/>aarp approved canadian online pharmacies</a>

      回复
    • most reliable canadian pharmacies

      <a href="http://canadiannextpharmacy.com/">best 10 online canadian pharmacies</a>
      http://canadiannextpharmacy.com/
      <a href=http://canadiannextpharmacy.com/>mexican pharmacy</a>

      回复
    • canadian pharmacies that ship to us

      <a href="http://canadianonlinepharmacynote.com/">top rated canadian pharmacies online</a>
      http://canadianonlinepharmacynote.com/
      <a href=http://canadianonlinepharmacynote.com/>canadian pharmaceuticals online safe</a>

      回复
    • reputable online pharmacy

      <a href="http://canadianpharmacieselite.com/">highest rated canadian pharmacies</a>
      http://canadianpharmacieselite.com/
      <a href=http://canadianpharmacieselite.com/>trust online pharmacy</a>

      回复
    • canada drugs online reviews

      <a href="http://canadianpharmacyhopemeds.com/">reputable canadian pharmacy</a>
      http://canadianpharmacyhopemeds.com/
      <a href=http://canadianpharmacyhopemeds.com/>canadian pharmaceuticals online safe</a>

      回复
    • canada pharmacy online

      <a href="http://canadianpharmacyhopemeds.com/">canadian pharmacies</a>
      http://canadianpharmacyhopemeds.com/
      <a href=http://canadianpharmacyhopemeds.com/>reputable canadian pharmacy</a>

      回复
    • canadian pharmacies online reviews

      <a href="http://canadianonlinepharmacynote.com/">reliable canadian pharmacy</a>
      http://canadianonlinepharmacynote.com/
      <a href=http://canadianonlinepharmacynote.com/>approved canadian pharmacies online</a>

      回复
    • legitimate canadian pharmacies online

      <a href="http://canadianonlinepharmacykkr.com/">overseas online pharmacies</a>
      http://canadianonlinepharmacykkr.com/
      <a href=http://canadianonlinepharmacykkr.com/>aarp recommended canadian pharmacies</a>

      回复
    • top rated canadian pharmacies online

      <a href="http://canadianpharmacyhopemeds.com/">canadian online pharmacy no prescription</a>
      http://canadianpharmacyhopemeds.com/
      <a href=http://canadianpharmacyhopemeds.com/>trust pharmacy canada</a>

      回复
    • canada drugs online

      <a href="http://canadianbestpharmacyonline.com/">online pharmacies</a>
      http://canadianbestpharmacyonline.com/
      <a href=http://canadianbestpharmacyonline.com/>canadian pharmaceuticals online reviews</a>

      回复
    • overseas online pharmacy

      <a href="http://canadianbestpharmacyonline.com/">canadian trust pharmacy</a>
      http://canadianbestpharmacyonline.com/
      <a href=http://canadianbestpharmacyonline.com/>legitimate canadian mail order pharmacies</a>

      回复
    • Fbsgprest

      cialis seling <a href="http://llecialisjaw.com/ ">http://llecialisjaw.com/ </a> where do you inject liquid cialis

      回复
    • legitimate canadian pharmacies online

      <a href="http://canadianonlinepharmacykkr.com/">canadian pharmacy online</a>
      http://canadianonlinepharmacykkr.com/
      <a href=http://canadianonlinepharmacykkr.com/>reliable canadian pharmacy</a>

      回复
    • online pharmacies canada

      <a href="http://canadianbestpharmacyonline.com/">best mexican online pharmacies</a>
      http://canadianbestpharmacyonline.com/
      <a href=http://canadianbestpharmacyonline.com/>canadian online pharmacy reviews</a>

      回复
    • canadian drug stores

      <a href="http://canadianpharmacyhub.com/">safe canadian internet pharmacies</a>
      http://canadianpharmacyhub.com/
      <a href=http://canadianpharmacyhub.com/>legitimate online pharmacies india</a>

      回复
    • canadian drug stores

      <a href="http://canadianpharmacyguru.com/">trust online pharmacy</a>
      http://canadianpharmacyguru.com/
      <a href=http://canadianpharmacyguru.com/>pharmacy drugstore online</a>

      回复
    • canadian online pharmacies

      <a href="http://canadianpharmacyhub.com/">canadian internet pharmacy</a>
      http://canadianpharmacyhub.com/
      <a href=http://canadianpharmacyhub.com/>best canadian online pharmacies</a>

      回复
    • reputable canadian pharmacy

      <a href="http://canadianpharmacyguru.com/">canadian online pharmacies</a>
      http://canadianpharmacyguru.com/
      <a href=http://canadianpharmacyguru.com/>pharmacy online</a>

      回复
    • canadian pharmacy

      <a href="http://canadianpharmacyfit.com/">canada pharmaceuticals online</a>
      http://canadianpharmacyfit.com/
      <a href=http://canadianpharmacyfit.com/>best mexican online pharmacies</a>

      回复
    • OExcuppy

      what instrument is used to measure blood pressure? - <a href="https://www.withoutbro.com">viagra</a> Evagc55
      viagra cialis levitra etc
      can i take viagra and ativan: <a href="https://www.withoutbro.com/">is viagra prescription</a>

      回复
    • canadian pharmaceuticals online safe

      <a href="http://canadianpharmacyfit.com/">drugstore online</a>
      http://canadianpharmacyfit.com/
      <a href=http://canadianpharmacyfit.com/>canadian pharmacy reviews</a>

      回复
    • drugstore online

      <a href="http://canadianpharmacycenterhd.com/">canada pharmaceuticals online</a>
      http://canadianpharmacycenterhd.com/
      <a href=http://canadianpharmacycenterhd.com/>legitimate online pharmacies india</a>

      回复
    • overseas online pharmacy

      <a href="http://canadianpharmacieshq.com/">canadian pharmacy reviews</a>
      http://canadianpharmacieshq.com/
      <a href=http://canadianpharmacieshq.com/>my canadian pharmacy</a>

      回复
    • list of reputable canadian pharmacies

      <a href="http://canadianpharmacycenterhd.com/">canadian drugs</a>
      http://canadianpharmacycenterhd.com/
      <a href=http://canadianpharmacycenterhd.com/>canadian pharmacy online</a>

      回复
    • canadian pharmacies without an rx

      <a href="http://canadianpharmaciespreshd.com/">canadian pharmaceuticals online reviews</a>
      http://canadianpharmaciespreshd.com/
      <a href=http://canadianpharmaciespreshd.com/>discount canadian drugs</a>

      回复
    • mexican pharmacies shipping to usa

      <a href="http://canadianpharmaciesdepot.com/">canadian online pharmacy no prescription</a>
      http://canadianpharmaciesdepot.com/
      <a href=http://canadianpharmaciesdepot.com/>most trusted canadian pharmacy</a>

      回复
    • top 10 online pharmacies

      <a href="http://canadianpharmaciespreshd.com/">canadian pharmacies online reviews</a>
      http://canadianpharmaciespreshd.com/
      <a href=http://canadianpharmaciespreshd.com/>mail order prescription drugs from canada</a>

      回复
    • discount canadian drugs

      <a href="http://canadianpharmacieshq.com/">approved canadian pharmacies online</a>
      http://canadianpharmacieshq.com/
      <a href=http://canadianpharmacieshq.com/>mexican border pharmacies shipping to usa</a>

      回复
    • international pharmacy

      <a href="http://canadianpharmacieshq.com/">mexican pharmacies</a>
      http://canadianpharmacieshq.com/
      <a href=http://canadianpharmacieshq.com/>canadian pharmacies</a>

      回复
    • legitimate online pharmacies

      <a href="http://canadianfastpharmacy.com/">canada drugs online reviews</a>
      http://canadianfastpharmacy.com/
      <a href=http://canadianfastpharmacy.com/>best canadian online pharmacy</a>

      回复
    • drugstore online

      <a href="http://canadianpharmaciesdepot.com/">reputable mexican pharmacies online</a>
      http://canadianpharmaciesdepot.com/
      <a href=http://canadianpharmaciesdepot.com/>canada drugs online</a>

      回复
    • best canadian pharmacies

      <a href="http://canadianpharmacieshq.com/">best canadian pharmacies</a>
      http://canadianpharmacieshq.com/
      <a href=http://canadianpharmacieshq.com/>reputable canadian online pharmacies</a>

      回复
    • Stephenpeaky

      viagra online canada <a href=" http://sild100fast.com/# ">viagra for sale</a> viagra from canada

      回复
    • mexican border pharmacies shipping to usa

      <a href="http://canadianpharmacynethd.com/">overseas online pharmacies</a>
      http://canadianpharmacynethd.com/
      <a href=http://canadianpharmacynethd.com/>mexican pharmacy</a>

      回复