Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6383127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:36:38+00:00 2026-05-25T02:36:38+00:00

kill -s SIGCHLD The above is the code for killing any zombie process, But

  • 0

kill -s SIGCHLD
The above is the code for killing any zombie process, But my question is:
Is there any way by which a Zombie process manifest itself??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T02:36:38+00:00Added an answer on May 25, 2026 at 2:36 am

    steenhulthin is correct, but until it’s moved someone may as well answer it here. A zombie process exists between the time that a child process terminates and the time that the parent calls one of the wait() functions to get its exit status.

    A simple example:

    /* Simple example that creates a zombie process. */
    
    #include <stdio.h>
    #include <unistd.h>
    #include <sys/types.h>
    #include <sys/wait.h>
    
    int main(void)
    {
        pid_t cpid;
        char s[4];
        int status;
    
        cpid = fork();
    
        if (cpid == -1) {
            puts("Whoops, no child process, bye.");
            return 1;
        }
    
        if (cpid == 0) {
            puts("Child process says 'goodbye cruel world.'");
            return 0;
        }
    
        puts("Parent process now cruelly lets its child exist as\n"
             "a zombie until the user presses enter.\n"
             "Run 'ps aux | grep mkzombie' in another window to\n"
             "see the zombie.");
    
        fgets(s, sizeof(s), stdin);
        wait(&status);
        return 0;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Is there any way to kill a Thread in Python? So this
I want to kill a whole process tree. What is the best way to
How do I kill a process which is running in bash - for example,
I am trying to kill all instances of a process called AetherBS.exe but the
what does kill exactly do? I have a parent process which is creating 100
If I kill the Socket Server process, my Socket client process does not receive
I need to kill specific worker thread in my application. I don't have any
I'm trying to kill a process (specifically iChat). On the command line, I use
Which problem can cause kill -9 in production application (in linux to be exact)?
I need to kill a windows process (java.exe). I'm currently using: taskkill.exe /F /IM

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.