查看网络信息命令 ifconfig
或者ip add show
希望可以帮助你,请采纳,谢谢
Ⅱ 怎么在linux 系统下查看网卡状态信息
方法一:
ethtool eth0 采用此启明命令可以查看到网卡相关的技术指标。
(不一定所有网卡都支持此命令)
ethtool -i eth1 加上 -i 参数查看网卡驱动。
可以尝试其它参数查看网卡相关技术参数。
方法二:
也可以通过dmesg | grep eth0 等看到网卡名字迅并(厂家)等信息。
通过查看 /etc/sysconfig/network-scripts/ifcfg-eth0 可以看到当前的网卡配亩旁迹置包括IP、网关地址等信息。
当然也可以通过ifconfig命令查看。
Ⅲ linux 下如何查看本机的网络速率
使用以下2个命令可以查看:
1)查看网卡型号
lspci
|
grep
Ethernet
这个命令可以查看你的网卡设备型版号,根权据型号就知道是什么性能了。
2)查看网卡实际通讯速率 dmesg
|
grep
eth0
这个命令可以列出网卡工作速率。看到
Up
1000Mps
full
plex
...
Ⅳ linux下如何看网卡是千兆还是百兆的
linux下如何看网卡是千兆还是百兆的方法如下:
使用ethtool命令。
ethtool是Linux下用于查询及设置网卡参数的命令。
举例:
[root@hvrhub ~]# ethtool eth0
Settings for eth0:
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: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
Link detected: yes
详细参数参考:(//后面是注释,是原文的译文)
ethtool ethX /
ethtool –h //显示ethtool的命令帮助(help)
ethtool –i ethX //查询ethX网口的相关信息
ethtool –d ethX //查询ethX网口注册性信息
ethtool –r ethX //重置ethX网口到自适应模式
ethtool –S ethX //查询ethX网口收发包统计
ethtool –s ethX [speed 10|100|1000] //设置网口速率10/100/1000M
[plex half|full] //设置网口半/全双工
[autoneg on|off] //设置网口是否自协商
[port tp|aui|bnc|mii] //设置网口类型
Ⅳ linux如何看网络带宽
使用命令:mii-tool -v
mii:是Linux下专门设置网卡工作模式的命令,详细参数如下
1. 查看网卡的工作模式,输入命令:
#mii-tool -v
eth0: negotiated 100baseTx-FD, link ok
proct info: vendor 00:aa:00, model 56 rev 0
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
从以上信息中可以看出,这块网卡工作在100M全双工自适应模式下,“100BaseTx-FD”意为100M Full Duplex。
2. 更改网卡的工作模式,输入命令:
#mii-tool -F media [interface]
media可选的模式有100baseTx-FD、100baseTx-HD、10baseT-FD、10baseT-HD等。 Interface代表所选择的网卡,如eth0、eth1等,默认为eth0。
例如,设置网卡工作在10M半双工模式下,输入命令:
#mii-tool -F 10baseT-HD eth0
3. 恢复网卡的自适应工作模式,输入命令:
#mii-tool -r eth0
更详细的使用方法可以用mii-tool -h来获得。
Ⅵ linux系统下,使用什么命令可以查看网卡是百兆还是千兆的,输入命令后,反馈信息是什么
在运行命令中输入”ethtool eth0“,当出现”Speed: 1000Mb/s“说明是千兆,当出现”Speed: 100Mb/s“字样说明是百兆。
Ⅶ 如何查看linux系统网卡的工作模式和速率
有时候,我们需要看下linux系统网卡工作模式、速率等,比较常用到的命令是mii-tool、ethtool,下面简单看下即可。
查看下eth0网卡信息
[root@cloud
~]#
mii-tool
-v
eth0
eth0:
negotiated
100baseTx-FD
flow-control,
link
ok
proct
info:
vendor
00:00:20,
model
32
rev
1
basic
mode:
autonegotiation
enabled
basic
status:
autonegotiation
complete,
link
ok
capabilities:
100baseTx-FD
100baseTx-HD
10baseT-FD
10baseT-HD
advertising:
100baseTx-FD
100baseTx-HD
10baseT-FD
10baseT-HD
flow-control
link
partner:
100baseTx-FD
100baseTx-HD
10baseT-FD
10baseT-HD
flow-control
从上面可以看出eth0
工作
100M全双工自适应模式下
[root@cloud
~]#
ethtool
eth0
Settings
for
eth0:
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
pause
frame
use:
Symmetric
Receive-only
Advertised
auto-negotiation:
Yes
Link
partner
advertised
link
modes:
10baseT/Half
10baseT/Full
100baseT/Half
100baseT/Full
Link
partner
advertised
pause
frame
use:
Symmetric
Receive-only
Link
partner
advertised
auto-negotiation:
Yes
Speed:
100Mb/s
Duplex:
Full
Port:
MII
PHYAD:
0
Transceiver:
internal
Auto-negotiation:
on
Supports
Wake-on:
pumbg
Wake-on:
g
Current
message
level:
0x00000033
(51)
Link
detected:
yes
[root@cloud
~]#
Ⅷ linux系统如何查看网卡的带宽大小
通过ethtool工具可以查看
1、先执行ip a命令查看网卡名称。
2、例如我要查看eth0网卡的带宽,只需要执行ethtool eth0即可查看eth0网卡的带宽大小。
Ⅸ linux 如何查询网卡带宽
Linux系统下可以通过下面命令核查网卡带宽:
[root@www]#ethtooleth0
Settingsforeth0:
Supportedports:[TP]
Supportedlinkmodes:10baseT/Half10baseT/Full
100baseT/Half100baseT/Full
1000baseT/Full
Supportsauto-negotiation:Yes
Advertisedlinkmodes:10baseT/Half10baseT/Full
100baseT/Half100baseT/Full
1000baseT/Full
Advertisedauto-negotiation:Yes
//其它的信息不用管它,下面Speed这一行就是网卡目前的带宽
Speed:1000Mb/s
Duplex:Full
Port:TwistedPair
PHYAD:1
Transceiver:internal
Auto-negotiation:on
SupportsWake-on:pumbag
Wake-on:g
Currentmessagelevel:0x00000001(1)
Linkdetected:yes