手机看片精品高清国产日韩,色先锋资源综合网,国产哺乳奶水91在线播放,乱伦小说亚洲色图欧洲电影

linux下監控帶寬資源方法

2016-04-22 07:35:50 13424

查看網卡信息---型號,監控網絡實時帶寬  1.查看網卡詳細信息  

1)dmesg | grep -i eth  

2) ethtool eth1 Settings for eth1: 

        Supported ports: [ TP MII ] 

        Supported link modes:   10baseT/Half 10baseT/Full  

                                100baseT/Half 100baseT/Full          Supports auto-negotiation: Yes 

        Advertised link modes:  10baseT/Half 10baseT/Full  

                                100baseT/Half 100baseT/Full          Advertised auto-negotiation: Yes         Speed: 100Mb/s         Duplex: Full         Port: MII         PHYAD: 32 

        Transceiver: internal         Auto-negotiation: on 

        Supports Wake-on: pumbg         Wake-on: d 

        Current message level: 0x00000007 (7)         Link detected: yes  

2.查看網絡實時帶寬  

在linux的proc文件系統中,通過查看/proc/net/dev文件 可以得到每個網絡接口的吞吐量,但是無法獲得實時帶寬 

最近發現了一種基于ncurses庫的小程序bmon,可以獲得實時帶寬  

Example: 

執行 bmon -o ascii -p eth1


提交成功!非常感謝您的反饋,我們會繼續努力做到更好!

這條文檔是否有幫助解決問題?

非常抱歉未能幫助到您。為了給您提供更好的服務,我們很需要您進一步的反饋信息:

在文檔使用中是否遇到以下問題: