health-check command not found

In this troubleshooting guide we learn how to fix health-check command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

health-check: command not found

or when using sudo you get the following error message

sudo: health-check: command not found

Solutions to health-check: command not found

How To Fix health-check: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu health-check is provided by health-check package.

health-check is:

Health-check monitors processes and optionally their child processes and threads for a given amount of time. At the end of the monitoring it will display the CPU time used, wakeup events generated and I/O operations of the given processes. It can be used to diagnose unhealthy bad processes.

To fix this problem, we can install more using the command below.

sudo apt-get -y install health-check

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install health-check.

sudo apt -y install health-check

Or if you have aptitude installed you can use the following command.

sudo aptitude install health-check

Summary

In this tutorial we learn how to fix health-check command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.