Skip to content

Troubleshoot CPU bound bottleneck

stackexchange How to find which Process is causing High CPU usage

A

top will display what is using your CPU. If you have it installed, htop allows you more fine-grained control, including filtering by—in your case—CPU

A

ps -eo pcpu,pid,user,args | sort -k1 -r -n | head -10

Works for me, show the top 10 cpu using threads, sorted numerically