Hi, folks. This post is about Monitoring Linux system using ytop. I will tell you a little bit about it and also show you how to install it.
Monitoring the resources of a computer in Linux helps to know which programs require special attention. It also allows you to know what is the performance of your computer according to various circumstances.
If we talk about tools to monitor computer resources in Linux, there are many interesting applications. Some very simple and others not so simple. But in the end, all of them fulfill their purposes remarkably.
So today I will talk about ytop a TUI based system monitor written in Rust language. Quite efficient in the consumption of resources and with the possibility of being installed in almost any Linux distribution and even in macOS.
Installing Ytop to monitoring Linux system
Ytop is available for many Linux distributions. So installation is not a problem.
If you use Linux Arch or a derivative of it, you can install ytop from Aur.
In case you use Alpine Linux, just use the following command:
:~$ apk add ytop
However, it is also possible to install it from the source code. To do so, use the following command:
:~$ cargo install -f --git https://github.com/cjbassi/ytop ytop
In any case, we can use binaries built for Linux. These should work on almost any distribution.
First, we download it with wget:
:~$ wget https://github.com/cjbassi/ytop/releases/download/0.5.1/ytop-0.5.1-x86_64-unknown-linux-gnu.tar.gz
Now, decompress the file:
:~$ tar zxvf ytop-0.5.1-x86_64-unknown-linux-gnu.tar.gz
This will generate a file called ytop which is the binary. Now open a terminal and run the file:
:~$ ./ytop
And you will see the following screen:
The application is very easy to use, but nevertheless, you have to take into account the keyboard shortcuts. Some of them are the following:
The application is very easy to use, but nevertheless, you have to take into account the keyboard shortcuts. Some of them are the following:
- Quit: q or <C-c>
- Pause: <Space>
Process navigation:
- k and <Up>: up
- j and <Down>: down
- <C-u>: half page up
- <C-d>: half page down
- <C-b>: full page up
- <C-f>: full page down
- gg and <Home>: jump to top
- G and <End>: jump to bottom
If you want to know all the keyboard combinations, I recommend you to read the official documentation of the application.
Also, the application can also be customized thanks to the color scheme.
As you see everything is quite simple and easy to use. So take advantage of this application to monitor your system without sacrificing resources.
Conclusion
Every day there are better tools in Linux to monitor computer resources. Today I have presented another tool that stands out for its ease of use and efficient consumption of resources. Easily installable is available to many.
Please share this post and join our Telegram channel.