Capture a System-Wide Stall Report with spindump
Record what every process was doing during a system freeze using spindump's whole-system stack sampling.
01Command
$ sudo spindump -notarget 10 -file /tmp/spindump-report.txt02What it does
spindump is macOS's built-in whole-system sampler: for a chosen duration it records call stacks of all user-space processes and ranks them by CPU use, which makes it the tool of choice when the entire machine stutters or a process spins silently. The -notarget flag samples the general system rather than waiting on one unresponsive app; without it, spindump waits for and profiles a specific hang. macOS also triggers spindumps automatically on severe hangs — those reports land in /Library/Logs/DiagnosticReports.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- Technical Note TN2124: Mac OS X Debugging MagicEvidence: Apple's debugging guide describing spindump-style system-wide stack sampling for diagnosing stalls.
- spindump(8) macOS man pageEvidence: Man page for spindump: samples the whole system and reports stack traces for user-space processes, run as root.
Last verified: 2026-09-18 · Category: Developer
06Related solutions
Erase the broken Spotlight database so macOS re-indexes your drive from scratch.
Read the serial number, model identifier and chip without opening About This Mac.
See how many charge cycles the battery has used and its health condition.