Linux Topics (6)Tap to switch
    Linux·Operating Systems·Topic 2 of 6

    Linux Processes & Signals Interview Questions

    Interview questions about process management in Linux, process states (Zombie and D-State), kernel signals (SIGTERM and SIGKILL), and the role of PID 1.

    2 Questions2 Intermediate
    Q #1Intermediate
    #linux-zombie-vs-orphan-processes

    What is the difference between an orphan process and a zombie process in Linux, and how do you get rid of both of them?

    Think through your answer before revealing
    Q #2Intermediate
    #linux-signals-sigterm-vs-sigkill

    Compare the SIGTERM(15) flag and the SIGKILL(9) flag in Linux, and why is it not recommended to use kill -9 as the first action?

    Think through your answer before revealing
    Offline · Reading cached copy