← Week 6 - Processes and signals
Week 6 - Processes and signals: notes¶
Status: Not started
Exercise 1¶
Use ps, top/htop, pgrep, kill, nice, jobs, bg/fg, lsof and explore
/proc/<pid>.
Commands, results, what surprised me.
Exercise 2¶
Start a .NET app, find its PID, inspect its open files, threads and memory in /proc.
Commands, results, what surprised me.
Exercise 3¶
Send SIGTERM versus SIGKILL and observe graceful shutdown via IHostApplicationLifetime.
Commands, results, what surprised me.
Exercise 4¶
Learn ulimit and what an out-of-memory kill looks like (dmesg).
Commands, results, what surprised me.
Deliverable¶
A .NET worker that logs a clean shutdown on SIGTERM, with notes on what you observed.
Write-up.