In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
How to solve the error report of linux's netstat command? In view of this problem, today the editor summarizes this article on the solution to the error report of linux's netstat command, but friends in need can refer to it and follow the editor to see the solution.
1. The problems encountered are as follows:
[root@localhost ~] # netstat-anptu | grep mysql-bash: netstat: command not found
2. The solution is as follows:
[root@localhost ~] # yum-y install net-tools loaded plug-in: fastestmirrorLoading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirrors.aliyun.com is resolving dependencies-- > checking transactions-- > software package net-tools.x86_64.0.2.0-0.25.20131004git.el7 will be installed-- > resolve dependencies complete dependency resolution = Package Architecture version source size = installing: net-tools x86room64 2.0-0.25.20131004git.el7 base 306k transaction summary = installation 1 total package downloads: 306k installation size: 917kDownloading packages:net-tools-2.0-0 .25.20131004git.el7.x86 _ 64.rpm | 306 kB 00:00:00 Running transaction checkRunning transaction testTransaction test succeededRunning transaction is being installed: net-tools-2.0-0.25.20131004git.el7.x86_64 1and1 verification: net-tools-2.0-0.25.20131004git.el7.x86_64 1Accord 1 has been installed: net-tools.x86_64 0vv2.0-0.25.20131004git.el7 is over!
3. Rely on the failed command to try again after the program has been installed:
[root@localhost ~] # netstat-anptu | grep mysqltcp 0 0 0.0.0.0 anptu 3306 0.0.0.0 LISTEN 1716/mysqld
After reading this article, can you solve the error problem of linux's netstat command independently? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel. Thank you for reading.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.