When configuring the zookeeper cluster, you need to view the native IP, enter the command hostname-i will display only the host IP,
Search below a commonly used command, busy when more knock command, in order to use the time to find!
I listed below the 10 basic Linux users should be aware of the network and monitoring commands. Network and Monitoring commands are similar to these: hostname, ping, ifconfig, Iwconfig, netstat, nslookup, traceroute, Finger, Telnet, ethtool to view the Linux server IP address , Manage server network configuration, establish network links between Linux with Telnet and Ethernet, view server information of Linux, etc. Let's look at the use of network and monitoring commands under Linux. 1. hostname Hostname no option to display host name hostname–d Display the domain name of the machine hostname–f Display the full hostname and domain name hostname–i Displays the IP address of the current machine |
You need claws. Translated over 3 years ago4 Person Top Top translation of good Oh! |
2. Ping Ping sends the packet to the user-specified address. When the package is received. The target machine sends a return packet. Ping has two main functions 1. To confirm that the network connection is unblocked. 2. The speed information used to view the connection. If you ping www.yahoo.com it will return its IP address. You can stop the command by CTRL + C. 3. Ifconfig View the user network configuration. It displays the current network device configuration. This tool is extremely useful when you need to receive or send data for error lookups. The 4. Iwconfig Iwconfig tool is similar to Ifconfig and Ethtool. is for the wireless card. You can use him to view settings for basic Wi-Fi network information, such as Ssid,channel and encryption. There are many other configurations you can also view and modify, including receive sensitivity, Rts/cts, the Shard size of the sending packet, and the retransmission mechanism of the wireless card |
you want claws translated 3 years ago 1 people top |
5. Nslookup Nslookup This command, when there is an IP address, can use this command to display Name, you can find all IP addresses for a given domain name. You must be connected to the Internet to use this command Example. nslookup blogger.com You can also use Nslookup to get the hostname from the IP or get the IP from the host name. 6. Traceroute A handy tool. Can be used to view the IP address, hop count, and response time of the router that the packet passed through when it was submitted to the remote system or Web site. You must also link to the Internet to use this command 7. Finger View user information. Displays the user's login name, real name, and login terminal name and login rights. This is a very old Unix command and is now rarely used for |
you want to paw translated 3 years ago Human top top Good translation! |
8. Telnet Connect to the target host via the Telnet protocol, If the Telnet connection can be completed at either port, it represents a good connection between the two hosts. Telnet hostname Port-telnet host name using the specified port. This is usually used to test whether the host is online or if the network is healthy. 9. Ethtool Ethtool allows you to view and change many of the network card settings (not including the Wi-Fi network card). You can manage many advanced settings, including TX/RX, checksum, and wake-on-LAN capabilities. Here are some basic commands that you might be interested in: Displays the driver information for a specific NIC, especially useful when checking for software compatibility. ethtool-i Initiates the specified behavior of an adapter, such as flashing the adapter's LEDs to help you identify the interface name in multiple adapters or interfaces: ethtool-p Display Network statistics: ethtool-s Set the connection speed of the adapter in Mbps: ethtool tempo <10|100|1000> |
garfielt translated 3 years ago 1 Human top |
Ten. Netstat Discover the most useful and common Linux commands for host connections. You can use "netstat-g" to query all multicast groups (networks) that the host subscribes to Netstat-nap | grep Port will show the process ID of the application using that port netstat-a or Netstat–all will display all connections that include TCP and UDP netstat--tcp or netstat–t will display a TCP connection netstat--udp or netstat–u will display a UDP connection netstat-g will display all multicast networks that the host subscribes to. |
10 Basic Linux Network and Monitoring commands