Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What if the linux server cannot view processes with top and ps

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

What if linux servers can't view processes with top and ps? In response to this problem, today's small editor summarizes this article about process troubleshooting, hoping to help more friends who want to solve this problem find a simpler and easier way.

Problem: The server load is very high, top and ps cannot view the process, there are abnormal task plans, but the process cannot be found

Troubleshooting also found the following exception mapping added to/etc/hosts

Guess mining, but no process eventually verified to be/etc/ld.so.preload set hidden process

Attempts to delete or edit this file directly are invalid, and finally try echo "">/etc/ld.so.preload can be entered normally

Then check to see the specific process

OK! It's easy to check if you can see the progress.

When troubleshooting this problem, it is mainly stuck in the hidden process and cannot be further verified and analyzed. As long as the hidden process is handled, it is good to troubleshoot and handle it.

Problem extension: unhide can be installed to view hidden processes

Installation:

Ubuntu or Debian distributions: sudo apt-get install unhide

CentOS/RHEL:yum install unhide

Execution: unhide proc View hidden process

The above is linux server can not use top and ps to view the process of the solution, after reading whether there is any harvest? If you want to know more about it, welcome to pay attention to industry information!

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report