H35-210_V2.5 · Question #159
In the Solaris environment, which of the following commands (parameters) is used to unconditionally terminate the process?
The correct answer is C. kill -9 pid. kill -9 sends SIGKILL (signal 9) to the specified process, which is handled directly by the OS kernel - the process cannot catch, block, or ignore it, making termination unconditional and immediate. The other options send different signals: -7 is SIGBUS (bus error), -8 is…
Question
In the Solaris environment, which of the following commands (parameters) is used to unconditionally terminate the process?
Options
- Akill -7 pid
- Bkill -8 pid
- Ckill -9 pid
- Dkill -10 pid
How the community answered
(21 responses)- A10% (2)
- C86% (18)
- D5% (1)
Explanation
kill -9 sends SIGKILL (signal 9) to the specified process, which is handled directly by the OS kernel - the process cannot catch, block, or ignore it, making termination unconditional and immediate.
The other options send different signals: -7 is SIGBUS (bus error), -8 is SIGFPE (floating-point exception), and -10 is SIGUSR1 (user-defined signal). None of these are guaranteed to terminate a process unconditionally - a process can be written to catch or ignore signals 7, 8, and 10.
Memory tip: Think of -9 as "nein!" (German for "no") - the process gets no choice and no chance to refuse.
Topics
Community Discussion
No community discussion yet for this question.