cpulimit command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cpulimit: command not found
or when using sudo you get the following error message
sudo: cpulimit: command not found
Solutions to cpulimit: command not found
How To Fix cpulimit: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cpulimit is provided by cpulimit package.
cpulimit is:
cpulimit is a simple program that attempts to limit the CPU usage of a process (expressed in percentage, not in CPU time). This is useful to control batch jobs, when you don’t want them to eat too much CPU. It does not act on the nice value or other priority stuff, but on the real CPU usage. Besides it is able to adapt itself to the overall system load, dynamically and quickly.
To fix this problem, we can install more using the command below.
sudo apt-get -y install cpulimit
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install cpulimit.
sudo apt -y install cpulimit
Or if you have aptitude installed you can use the following command.
sudo aptitude install cpulimit
Summary
In this tutorial we learn how to fix cpulimit command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.