interview-prep
  1. top or htop — what process is using CPU?
  2. pidstat 1 — confirm sustained vs spike
  3. If multi-core: mpstat -P ALL 1 — is it pinned to one core?
  4. strace -p <pid> — what syscalls is it making? (use sparingly, can slow the process)
  5. Application-specific: thread dump, profiler, APM data
  6. Is it consuming I/O too? iostat -xz 1

My notes