Skip to content

Instantly share code, notes, and snippets.

@pjobson
Created March 13, 2019 20:54
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjobson/888f2ddaff78e32d575fc435a6f6b8b5 to your computer and use it in GitHub Desktop.
Save pjobson/888f2ddaff78e32d575fc435a6f6b8b5 to your computer and use it in GitHub Desktop.
Limit CPU Usage Linux
sudo apt install cpulimit
ps aux |grep process_name
sudo cpulimit --pid ###### --limit 20 --background
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment