Gtop - A Linux System Monitoring Dashboard for Terminal

gtop dashboardWhen you work on Linux server or on your personal computer, you can need sometimes to monitor the different processes in progress. This can be done with some commands but the result sometimes appears with numbers without a graph on your terminal. It exists a new tool gtop which can display your processes dynamically in graphic mode on your Linux terminal.

What is gtop?

gtop is a tool which reads information about processes and the state of the system in dynamic mode. As its name, we can think that it is a graphic top command. It contains some views to monitor your cpu, memory, swap, disk and network usage with a percentage and graphical representation. It also shows you the path of the commands in progress

1) Install gtop

To be able to use gtop, we should first need to install nodejs

On centos 7

# yum install epel-release
# yum install nodejs

On Ubuntu 16

# apt install nodejs-legacy
# apt install npm

Now you can install gtop as below

# npm install gtop -g

2) Use gtop to monitor the processes

Now that we have installed it, you can launch it by typing

# gtop

You can see that it shows you processes with the graph on your terminal. You can use your keyboard to scroll the different processes listed there.

gtop offers the advantage to sort the process

  • by pid with p command

  • by cpu used with c command

  • by memory used with m command

To exit gtop, you can use q or echap command. You can see a percentage and graphical representation of the utilization in progress.

gtop offers the possibility to see all the processes currently in progress execution. It acts like top command but it offers a graphic mode which is more interesting. During my tests, I was not able to act on the processes listed as kill a process or use other commands than those shown earlier.

About Alain Francois

IT Linux administrator passionate of free and open source software, I work on Linux Systems since some years on installations and deployments of certain solutions. I like to share my experiences with a wider audience by training and conferences.

Author Archive Page

Have anything to say?

Your email address will not be published. Required fields are marked *

All comments are subject to moderation.