PID 4242 is stopped by SIGSTOP.
Resume execution without terminating it.
Which command is appropriate?
SIGCONT resumes a process stopped by SIGSTOP or SIGTSTP; it does not request termination.
Detailed explanation
kill -TERM 4242Incorrect. SIGTERM requests termination.
Incorrect. SIGTERM requests termination.
kill -CONT 4242Correct. kill -CONT 4242 sends SIGCONT and resumes the process.
Correct. kill -CONT 4242 sends SIGCONT and resumes the process.
kill -STOP 4242Incorrect. SIGSTOP would keep the process stopped.
Incorrect. SIGSTOP would keep the process stopped.
kill -HUP 4242Incorrect. SIGHUP is a hangup signal and does not specifically resume a stopped process.
Incorrect. SIGHUP is a hangup signal and does not specifically resume a stopped process.
Try it yourself
An example you can run in a temporary verification environment.
kill -l CONTExpected result
SIGCONTのsignal番号または名称Key points
- SIGCONT
- SIGSTOP
- Process state
Notes
- Environment: signal一覧の読み取り確認
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.