performance
medium
Apply
process-termination
2 points
Question 24. CSCD240-E1-A
./daemon &. Terminate the PROCESS via PID (PID=7291). Show PID discovery AND kill.
Work the drill
Answer on paper or in a terminal before revealing the ideal answer.
Ideal answer
ps -ef | grep daemon → kill 7291
Misconception bank
Each row below is a plausible wrong answer, the thinking that produces it, and the remedy that corrects the misconception. These are the foundation of the multiple-choice framing and the targeted feedback a student receives after answering.
kill 7291
Misconception. Missing PID-discovery step; the question requires both.
Remedy. Read the prompt: "show how you got the pid AND what to do after".
ps -ef | grep daemon → kill -9 7291
Misconception. Unnecessary SIGKILL; no indication it resisted SIGTERM.
Remedy. Only escalate to -9 when default fails. Emphasize gentleness.
Authority mappings
Hover any chip for the mapping justification; click to open the authority record.
DCWF roles:
IT-451 System Administrator
KU outcomes:
CD-OSC-O3
KU topics:
CD-OSC-T3
Course-artifact links
Lectures
- CSCD240-S26-L08. Pipes, filters, grep, sort, uniq, wc, tar
Lab questions
- CSCD240-S26-LAB6: Start a command, kill with default signal; start again, kill -9.