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