DOCKER MANAGEMENT: "CTOP" COMMAND

If you know how to move around linux servers ... surely you know the use of the "top" command, which is used to see in real time the server status (ram, swap, cpu) and see the system processes that are consuming these resources.

The "top" command is very well and very useful, but sometimes it is not useful when we want to see the resources that are consuming our Docker containers.

For this task of seeing only the resources consumed by our docker containers a new command "Ctop" was created.

">

You can see all the information in its repository: https://github.com/bcicen/ctop

The installation on linux is very simple:

sudo wget https://github.com/bcicen/ctop/releases/download/v0.7.3/ctop-0.7.3-linux-amd64 -O /usr/local/bin/ctop
sudo chmod +x /usr/local/bin/ctop

You can install it with what I have put above, but I recommend you to check their github for instructions on how to install their latest version, or if you don't have linux and want to install it on windows or mac.

Running it is very simple you just have to put "ctop" in the terminal, or if you have any problem you probably have to run it with "sudo ctop".

Tags

Have Any Project in Mind?

If you want to do something in Drupal maybe you can hire me.

Either for consulting, development or maintenance of Drupal websites.