Some commands based on system configuration, management, and maintenance in windows

Source: Internet
Author: User
Tags time in milliseconds

Some commands based on system configuration, management, and maintenance in windows
1. Obtain the IP address C: \> ping www.hao123.compinghao123.n.shifen.com [111.13.100.2] with 32 bytes of data: Replyfrom 111.13.100.2: bytes = 32 time = 63 ms TTL = 52 ...... Pingstatistics for 111.13.100.2: Packets: Sent = 4, stored ED = 4, Lost = 0 (0% loss), Approximateround trip times in milli-seconds: Minimum = 63 ms, Maximum = 63 ms, average = 63 ms 2. test whether the host file on the host is faulty. C: \> pinglocalhostPingingYDGNU2NTKE504WC [127.0.0.1] with 32 bytes of data: Replyfrom 127.0.0.1: bytes = 32 time <1 ms TTL = 128 ...... Pingstatistics for 127.0.0.1: Packets: Sent = 4, stored ED = 4, Lost = 0 (0% loss), Approximateround trip times in milli-seconds: Minimum = 0 ms, Maximum = 0 ms, average = 0 ms 3. check whether the route of the specified server is faulty. C: \> tracert www.163.comTracingroute to c01.i125pxbjx.hadns.net [117.169.16.156] overa maximum of 30 hops: 1 *** Request timed out. 2 <1 ms <1 ms 192.168.200.1 3 15 ms 2 ms 2 ms 223.82.185.33 4 2 ms 2 ms 2 ms 120.203.191.17 5 9 ms 7 ms 7 ms 211.138.213.121 6 39 ms 62 ms 7 ms 117.169.9.6 7 *** Request timed out. 8 7 ms 7 ms 7 ms 117.169.16.156Tracecomplete. 4. check whether the DNS server is working properly C: \> nslookup www. sohu. comServer: cache. jx. chinamobile. comAddress: 211.141.90.68Non-authoritativeanswer: Name: fahyd. a. sohu. comAddress: 112.29.145.64Aliases: www.sohu.com, gs.a.sohu.com 5. check Nic and IP address information of the Local Machine. C: \> netshnetsh> diagnetshdiag> show Ip address 1. [00000001] Realtek PCIe GBE FamilyController IPAddress = 192.168.12.26 2. [2, 00000010] VMware Virtual EthernetAdapter for VMnet1 IPAddress = 192.168.78.1 3. [00000011] VMware Virtual EthernetAdapter for VMnet8 IPAddress = 192.168.152.1netsh diag> 6. check all the adapters C: \> netshnetsh> diagnetshdiag> show adapter Network adapter 1. [1, 00000001] Realtek PCIe GBE FamilyController 2. [2, 00000010] VMware Virtual EthernetAdapter for VMnet1 3. [2, 00000011] VMware Virtual EthernetAdapter for VMnet8netshdiag> 7. check the DNS server netshdiag> show dnsDNS server of each adapter in the local machine. [00000001] Realtek PCIe GBE FamilyController DNSServerSearchOrder = 211.141.90.68netshdiag> 8. check gateway netshdiag> show gateway Default gateway 1. [00000001] Realtek PCIe GBE FamilyController DefaultIPGateway = 192.168.12.1 same subnet 9. check whether the local DNS server is working properly. netshdiag> ping dns Server 1. [00000001] Realtek PCIe GBE FamilyController DNSServerSearchOrder = 211.141.90.68 pinging 211.141.90.68 with 32 bytes: response from 211.141.90.68: byte = 32 time = 6 ms TTL = 6 response from 211.141.90.68: byte = 32 time = 8 ms TTL = 8 response from 211.141.90.68: byte = 32 time = 6 ms TTL = 6 response from 211.141.90.68: byte = 32 time = 13 ms TTL = 13 211.141.90.68 Ping statistics: Packet: Sent = 4, received = 4, lost = 0 (0% lost) approximate round-trip time in milliseconds: Minimum value = 6 ms, maximum value = 13 ms, average value = 8 ms 10. view TCP connections currently active on the local machine Status C: \> netstatActiveConnections Proto Local Address ForeignAddress State TCP YDGNU2NTKE504WC: 2797.: http CLOSE_WAIT TCP protocol: 2798 120.198.203.176: http TIME_WAIT TCP protocol: 2799 Protocol: http TIME_WAIT TCP protocol: 4267 Protocol: http established tcp protocol: 4682 101.199.97.105: http ESTABLISHED 11. use the convert command to convert the FAT32 partition format to the NTFS partition format D: \> convertc:/fs: ntfs drive C: NTFS has been changed.

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.