fucking great! Support a practical Linux resource monitoring tool

Time:2021-1-17

fucking great! Support a practical Linux resource monitoring tool

_ Author: James kiarie translator: Yue Yong
Original text:https://www.tecmint.com/basht…

It has game style responsive terminal UI and customizable menu. The orderly arrangement of various display parts makes it easy to monitor various system indicators. Bashtop is a terminal based resource monitoring utility in Linux. It is a beautiful command line tool, which can intuitively display the statistical data of CPU, memory, running process and bandwidth.

With bashtop, you can also sort processes and easily switch between various sorting options. In addition, you canSIGKILLSIGTERMandSIGINTSend to the desired process.

Bashtop can be installed on Linux, Mac OS or even FreeBSD. In this guide, you will learn how to install bashtop on various Linux distributions.

precondition

To successfully install bashtop, make sure the following dependencies are ready on your system.

· bash 4.4 or higher. · GIT. · GNU coreutils. · GNU sed, awk, grep and PS command line tools. · LM sensor – optional (for collecting CPU temperature Statistics)

First, we’ll start installing bashtop manually. This should apply to all distributions.

Manual installation

To manually install bashtop, clone the GIT repository as follows and compile from source using the following command:

$ git clone https://github.com/aristocratos/bashtop.git
$ cd bashtop
$ sudo make install

To uninstall bashtop, run:

$ sudo make uninstall

Install bashtop in Ubuntu

There are two ways to install bashtop on Ubuntu: using snap or using apt package manager.

To install using snap, perform the following steps:

$ snap install bashtop

To install using apt package manager, first add the bashtop PPA as follows:

$ sudo add-apt-repository ppa:bashtop-monitor/bashtop

Next, update the list of packages and install bashtop as shown.

$ sudo apt update
$ sudo apt install bashtop

Installing bashtop in Debian

Bashtop is available in Debian’s official repository. To install it, simply run the following command:

$ sudo apt install bashtop
#In addition, you can run the displayed command. $ git clone  https://github.com/aristocratos/bashtop.git
$ cd bashtop/$ cd DEB$ sudo ./build

Install bashtop in Fedora

To put bashtop into Fedora, just run the following command:

$ sudo dnf install bashtop

Installing bashtop in CentOS / RHEL 8

For CentOS 8 / RHEL 8 systems, you need to enable the EPEL repository first, and then run the following command:

$ sudo yum install epel-release
$ sudo dnf install bashtop

Installing bashtop on arch Linux

Bashtop is provided in AUR in the form of bashtop GIT. To install bashtop, simply run:

$ sudo pacman -S bashtop

How to use bashtop resource monitor on Linux

To start bashtop, simply run the following command on the terminal:

$ bashtop

fucking great! Support a practical Linux resource monitoring tool

Bashtop – Linux resource monitoring tool

Bashtop configuration

The configuration file for bashtop is located at~/.config/bashtop/bashtop.cfgLocation. You can change parameters as needed to customize the appearance and output of indicators on the terminal.

Here is an example of the default configuration:

fucking great! Support a practical Linux resource monitoring tool

Bashtop configuration

To view commands and shortcuts, pressEscKey, and then use the down arrow to selectHelpOptions.

fucking great! Support a practical Linux resource monitoring tool

Bashtop menu

This will print out the following menu and all command options, as shown.

fucking great! Support a practical Linux resource monitoring tool

Bashtop options

conclusion

In general, bashtop provides an excellent way to monitor Linux system resources. However, it’s much slower than top and htop, and it’s a bit resource intensive. Nevertheless, it is still a rather impressive tool, providing important information on various system indicators.

fucking great! Support a practical Linux resource monitoring tool

Recommended Today

How to Build a Cybersecurity Career

Original text:How to Build a Cybersecurity Career How to build the cause of network security Normative guidelines for building a successful career in the field of information security fromDaniel miesslerstayinformation safetyCreated / updated: December 17, 2019 I’ve been doing itinformation safety(now many people call it network security) it’s been about 20 years, and I’ve spent […]