ctop command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ctop: command not found
or when using sudo you get the following error message
sudo: ctop: command not found
Solutions to ctop: command not found
How To Fix ctop: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ctop is provided by ctop package.
ctop is:
ctop will help you see what’s going on at the container level. Basically, containers are a logical group of processes isolated using kernel’s cgroups and namespaces. Recently, they have been made popular by Docker and they are also heavily used under the hood by systemd and a load of container tools like lxc, rocket, lmctfy and many others.
Under the hood, ctop will collect all metrics it can from cgroups in realtime and render them to instantly give you an overview of the global system health.
It currently collects metrics related to cpu, memory and block IO usage as well as metadata such as owning user (mostly for systemd based containers), uptime and attempts to guess the container managing technology behind.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ctop
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ctop.
sudo apt -y install ctop
Or if you have aptitude installed you can use the following command.
sudo aptitude install ctop
Summary
In this tutorial we learn how to fix ctop command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.