How to use strace and lsof for stuck processes

Build Tracewell, syscall and open-file diagnosis with strace, lsof, syscalls.

  • Difficulty Intermediate
  • Parts 10
  • Stack strace, lsof, syscalls

What you are learning

Tracewell is syscall and open-file diagnosis. The teaching focus is Tracing (strace, lsof, syscalls).

Work in order. Early parts set vocabulary and environment; later parts assume the earlier checkpoints.

How to use these lessons

Read the goal, open the matching GitHub folder, complete the lab or exercises, then return for the explanation. If a command fails, check you are in the numbered folder first.

Open the Tracewell GitHub repo →

Parts in order

Each chapter below is one checkpoint in this lab.