ubuntu 100 cpu usage code example Example: how to set cpu usage to 100% linux $ sudo cpulimit --pid 17918 --limit 50 Process 17918 detected