Use the ps and grep commands to find the zombie process #ps -A -ostat,ppid,pid,cmd |
Grep -e '^[Zz]' command comment: -A parameter lists all processes -o custom output field We set the display field to stat (status), ppid (process parent id), pid (process id), cmd (Command) These four parameters because the state is z or Z process is a zombie process, so we use grep to grab the stat state for the zZ process running results refer to the following Z 12334 12339 /path/cmd, then we can use kill -HUP After 12339 to kill this zombie process, you can run ps -A -ostat, ppid, pid, cmd again |
Grep -e '^[Zz]' to confirm if the zombie process has been killed. If the kill child process is invalid, you can try to kill its parent process to solve the problem. For example, the parent process pid is 12334, then we run #kill -HUP 12334 to solve the problem
Generally you can use the top command to find the dynamic process table
#top
where zombie is Zombie process
on Ubuntu systems Ubuntu is currently the most popular Linux operating system. After the release of
The linux shell has its own set of flow control statements, including conditional statements (if),
How to uninstall the built-in JDK under Linux, many of us can find java under the operating system
When I maintain the blog file today, I found that I cant delete some folders and files in the websi
Source code reading tool under Windows platform Source Insight
Ssh certificate authentication landing implementation tutorial
Tizen 1.0 released Linux-based mobile operating system
How to choose a Linux desktop environment
Linux auto-execute crontab study notes
CentOS yum command Using tutorials
Talk about the shell ">/dev/null 2>&1"
Ubuntu Linux system support for tablets released
Centos6.2 install IOU-web-interface Note
The relationship between spinlock and linux kernel scheduling
Using library files and writing library files on AIX
Linux shell different binary data conversion (binary, octal, hexadecimal, base64)
Vista system memory acceleration tips
Resolving data problems Server and storage management
Win10 update first error 0x80070422, after the 0x8024001e error solution
How to solve the problem when the license is expired when Win10 is activated
WeChat public platform assistant settings tutorial
Now that's professional! Right to build giant personality (6)
Win10 how to clear the two small arrows on the folder icon
How to completely uninstall NVIDIA graphics driver in windows7