loadwatch command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
loadwatch: command not found
or when using sudo you get the following error message
sudo: loadwatch: command not found
Solutions to loadwatch: command not found
How To Fix loadwatch: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu loadwatch is provided by loadwatch package.
loadwatch is:
loadwatch forks a child process and only allows it to run when the system load meets user-defined parameters. It allows you to specify that a program should run only if the load is below a specified point, and will stop it when that point is reached. When the load falls below a second specified point, the program will be continued. The user can also specify the system load sampling period.
To fix this problem, we can install more using the command below.
sudo apt-get -y install loadwatch
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install loadwatch.
sudo apt -y install loadwatch
Or if you have aptitude installed you can use the following command.
sudo aptitude install loadwatch
Summary
In this tutorial we learn how to fix loadwatch command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.