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.
kill -CONT 4242Correct. kill -CONT 4242 sends SIGCONT and resumes the process.
kill -STOP 4242Incorrect. SIGSTOP would keep the process stopped.
kill -HUP 4242Incorrect. 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一覧の読み取り確認
- Use a disposable process or test shell when checking lifecycle commands.
- Exact output and option names can vary slightly by distribution and tool version.
Foundation review
Place the operation
SIGCONT changes a stopped process back toward execution; SIGTERM requests termination instead.
Check the side effect
Observe the state after sending the signal and distinguish a resumed process from one that exited.