Introduction to the command usage of Mii-tool view speed in Ubuntu

Source: Internet
Author: User

Under Windows, the view is very simple, double-click the Control Panel-> Network connection-> Local connection (or other connections you are using) to see the speed of the network. Of course, this speed is not necessarily the actual speed of the network, but only to express your computer access to the switch rate. Usually in the school's local area network, or the community broadband, or ADSL, see the speed should be 100M, which shows that the current machine network card is working in 100M mode. As for the actual speed, you can use a special speed test site, not in this table.

Under Linux/unix, for example, in Ubuntu, if you want to see whether the server is working in hundred megabytes or gigabit mode, you can view it through the "sudo/sbin/mii-tool-v" command, for example:

Enter the return result of the command on the first machine:

wamdm@wamdm18:~$ sudo/sbin/mii-tool-v
eth0:negotiated 1000baset-fd flow-control, link ok
Product Info:vendor 00:50:43, model 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

Enter the return result of the command on the second machine:
wangzhongyuan@omserver:~$ sudo/sbin/mii-tool-v
eth0:negotiated 100basetx-fd flow-control, link ok
Product Info:vendor 00:07:32, model Rev 2
Basic Mode:autonegotiation Enabled
Basic status:autonegotiation complete, link OK
CAPABILITIES:1000BASET-HD 1000baset-fd 100basetx-fd 100BASETX-HD 10baset-fd 10BASET-HD
ADVERTISING:100BASETX-FD 100BASETX-HD 10baset-fd 10BASET-HD Flow-control
Link PARTNER:1000BASET-HD 1000baset-fd 100basetx-fd 100basetx-hd 10baset-fd 10baset-hd Flow-control

From the bold part of the return result, you can see that the first machine is working in 1000M mode, and the second machine is working in 100M mode.

Of course, there are some statements that the current Mii-tool command is not supported on many 1000M network adapters, you can use the "ethtool-i eth0" command or a command such as DMESG to view the speed of the network card mode of operation.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.