~/talk

Using STRACE to troubleshoot issues

links:none on file
slides:none on file

strace shows every syscall and timestamps, used by Red Hat support to diagnose userland failures; recommended flags are -f -tt -v -y -s 1024 to follow forks, decode strings and get ms timestamps. six real cases include slow df (400 ms per failed file lookup), slow SSH where the server waits 25s on a systemd session call, tracing services by attaching to PID 1, and boot-wide tracing; note strace fails for pure CPU spins or in-kernel hangs.

AI-written summary · about

  1. 0:00Start
  2. 4:22How does strace work?
  3. 8:55Recommended usage
  4. 17:26stracing a command slowness
  5. 30:20stracing boot activity
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.