linux how to see whats using cpu code example Example 1: check cpu temp linux watch -n 2 sensors Example 2: linux check cpu usage lscpu # Or cat /proc/cpuinfo