(1)查看网速的命令:
1:方法一
wamdm@WAMDM18:~$ sudo /sbin/mii-tool -v
结果显示如下:
SIOCGMIIREG on eth0 failed: Input/output error
SIOCGMIIREG on eth0 failed: Input/output error
eth0: negotiated 1000baseT-FD flow-control, link ok
product info: vendor 00:50:43, model 11 rev 0
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
link partner: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
2:方法二:查看网卡状态的命令
wamdm@WAMDM15:~$ sudo ethtool eth0
[sudo] password for wamdm:
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s(看到了网速啦)
Duplex: Full
Port: Twisted Pair
PHYAD: 2
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbag
Wake-on: g
Current message level: 0x00000001 (1)
Link detected: yes
(2)不同机器之间拷贝文件的命令scp
如:从wamdm2拷贝eclipse目录到wamdm14机器的/home/wamdm/目录下
wamdm@WAMDM2:~$ scp -r eclipse wamdm@wamdm14:/home/wamdm/
(3)利用putty从一台机器登录到另一台机器
ssh wamdm*