Ending the process that keeps the CPU busy is not enough: if another process started it, that one may start it again. So you find the parent first, and you choose the commands for that.
You cannot guess the parent from the program name: processes of one program can have different parents.
Where the load came from
Another process has taken the CPU. Write the number of its parent, the process that started it, to the file parent.pid in ~/proc-lab.
Goals · 0 of 1
- Record the PID of the busy process's parent not done yet