Gtop - A Linux System Monitoring Dashboard for Terminal

Channel: Linux
Abstract: you can need sometimes to monitor the different processes in progress. This can be done with some commands but the result sometimes appears with numbe

When 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

Rust - How To Display FPS & Ping Co...

To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video

Rust - How To Display FPS & Ping Counter

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.

Conclusion

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.

Read Also:
  • gotop - A Tool to Monitor System Activity in Linux
  • 30 Linux TOP Command Usage Examples for Monitoring

Ref From: linoxide
Channels:

Related articles