How to find and clear zombie processes w/o rebooting?

Cameron Simpson cs at zip.com.au
Thu Jun 26 04:23:42 UTC 2008


On 25Jun2008 23:45, Patrick O'Callaghan <pocallaghan at gmail.com> wrote:
| On Thu, 2008-06-26 at 12:34 +1000, Cameron Simpson wrote:
| >   xterm &
| >   xclock &
| >   window-manager
| > 
| > So, that is a shell script. It kicks off a terminal, a clock and a
| > window manager. It waits for that last. When the window manager exits
| > (usually from the quit/logout menu item), the session ends, and
| > gdm/xdm
| > kills the X server and starts a new server for a new login prompt.
| > 
| > Now.. if the terminal or clock exit, they will be zombies.
| 
| In fact the Shell waits for forked processes, so they won't be zombies.

Indeed. However if it execs the window manager, the window manager usually
won't. But point taken.
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

Anarchy is not lack of order. Anarchy is lack of ORDERS.




More information about the fedora-list mailing list