linux 查询网卡速率-凯发app官方网站

凯发app官方网站-凯发k8官网下载客户端中心 | | 凯发app官方网站-凯发k8官网下载客户端中心
  • 博客访问: 684151
  • 博文数量: 26
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 3182
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-23 14:29
个人简介

7年游戏服务器开发,擅长c/c ,javesript,php;熟悉linux,mysql/redis,elasticsearch;开源爱好者.github : https://github.com/yuyunliuhen

文章分类

全部博文(26)

文章存档

2016年(1)

2015年(3)

2014年(3)

2013年(19)

相关博文
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·

分类: 网络与安全

2014-06-26 11:10:33

1 $ifconfig

点击(此处)折叠或打开

  1. [root@localhost tinynet]# ifconfig
  2. eth1 link encap:ethernet hwaddr 00:0c:29:15:0c:8f
  3.           inet addr:192.168.22.61 bcast:192.168.22.255 mask:255.255.255.0
  4.           inet6 addr: fe80::20c:29ff:fe15:c8f/64 scope:link
  5.           up broadcast running multicast mtu:1500 metric:1
  6.           rx packets:21837690 errors:0 dropped:0 overruns:0 frame:0
  7.           tx packets:25586224 errors:0 dropped:0 overruns:0 carrier:0
  8.           collisions:0 txqueuelen:1000
  9.           rx bytes:5981318187 (5.5 gib) tx bytes:3560555762 (3.3 gib)

  10. lo link encap:local loopback
  11.           inet addr:127.0.0.1 mask:255.0.0.0
  12.           inet6 addr: ::1/128 scope:host
  13.           up loopback running mtu:16436 metric:1
  14.           rx packets:43294922 errors:2751 dropped:2751 overruns:0 frame:0
  15.           tx packets:43294922 errors:0 dropped:0 overruns:0 carrier:0
  16.           collisions:0 txqueuelen:0
  17.           rx bytes:3836215850 (3.5 gib) tx bytes:3836215850 (3.5 gib)

2 $ethtool eth1

点击(此处)折叠或打开

  1. [root@localhost tinynet]# ethtool eth1
  2. settings for eth1:
  3.         supported ports: [ tp ]
  4.         supported link modes: 10baset/half 10baset/full
  5.                                 100baset/half 100baset/full
  6.                                 1000baset/full
  7.         supported pause frame use: no
  8.         supports auto-negotiation: yes
  9.         advertised link modes: 10baset/half 10baset/full
  10.                                 100baset/half 100baset/full
  11.                                 1000baset/full
  12.         advertised pause frame use: no
  13.         advertised auto-negotiation: yes
  14.         speed: 1000mb/s
  15.         duplex: full
  16.         port: twisted pair
  17.         phyad: 0
  18.         transceiver: internal
  19.         auto-negotiation: on
  20.         mdi-x: unknown
  21.         supports wake-on: d
  22.         wake-on: d
  23.         current message level: 0x00000007 (7)
  24.                                drv probe link
  25.         link detected: yes

一般来说,1000mb的单位是bit,而不是byte,所以网卡流量的上限应该是1000mb/8=125m.


阅读(3399) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~
")); function link(t){ var href= $(t).attr('href'); href ="?url=" encodeuricomponent(location.href); $(t).attr('href',href); //setcookie("returnouturl", location.href, 60, "/"); }
网站地图