Get the App
SLTechnology News&Howtos  ›  Servers  › 

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

Shulou Source: shulou.com Published: 2022-06-03 04:14:51 10月04日 Update

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!

Tags: Processes problems servers services more deal with try what to do easy difficult easy task content method that is files articles methods friends phenomena Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Apple vpn Microsoft Linux