<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Zombie Processes on Michael’s Domain</title><link>https://jeltsch.org/en/tags/zombie-processes/</link><description>Recent content in Zombie Processes on Michael’s Domain</description><generator>Hugo</generator><language>en-us</language><copyright>Copyright © 2002 - 2026 Michael Jeltsch.</copyright><lastBuildDate>Fri, 24 Jul 2026 00:18:18 +0300</lastBuildDate><atom:link href="https://jeltsch.org/en/tags/zombie-processes/index.xml" rel="self" type="application/rss+xml"/><item><title>Kill and defunct (zombie) processes (kill, pstree, xkill)</title><link>https://jeltsch.org/en/kill_and_defunct_zombie_processes_kill_pstree_xkill/</link><pubDate>Wed, 04 Apr 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/kill_and_defunct_zombie_processes_kill_pstree_xkill/</guid><description>&lt;p&gt;Sometimes you cannot kill some processes via the regular command &lt;code&gt;kill -9 PID&lt;/code&gt; When you list them with &lt;code&gt;ps -aux&lt;/code&gt; you will see the entry &lt;code&gt;defunct&lt;/code&gt; Those defunct processes are apparently still hanging around mostly because their parent application is waiting for them to receive something. These processes are already dead, that&amp;rsquo;s why they are called &amp;ldquo;zombies&amp;rdquo;. In order to kill them, you have to kill the parent application first. You can figure out what the parent&amp;rsquo;s PID is by issuing &lt;code&gt;pstree PID&lt;/code&gt;The kill command can do more than kill, e.g. terminate, quit, hang up, etc. To list its possibilities, type &lt;code&gt;kill -l&lt;/code&gt; You can either use the number or the string to define what kill should do. Therefore the following two commands are identical: &lt;code&gt;kill -KILL PID``kill -9 PID&lt;/code&gt;To terminate all processes that you are allowed to terminate, use -1 as the PID. Obviously, you need to specify the action by using its string (otherwise -1 would be interpreted to be the action that kill is going to perform, i.e. HUP): &lt;code&gt;kill -KILL -1&lt;/code&gt;To easily kill applications with a GUI, you can use 
 &lt;a href="http://en.wikipedia.org/wiki/Xkill" target="_blank" rel="noopener noreferrer nofollow"&gt;xkill&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
. You just need to select the window of the process you wish to kill with the mouse.&lt;/p&gt;</description></item></channel></rss>