linux command to show the cpu idle time code example Example: linux check cpu usage lscpu # Or cat /proc/cpuinfo