Topics / Debugging, Testing & Tools / Q22
How do you debug high CPU usage in Linux?
Identify the process or thread using top or ps, then use perf and stack traces to locate hot code.
Identify the process or thread using top or ps, then use perf and stack traces to locate hot code.