bashtop – ‘cool’ top option.

Meet Bashtop, an aesthetically pleasing system monitor written entirely in Bash. Yes you can see all 5000 lines of code by simply opening /usr/bin/bashtop with a text editor or see on github,

Over the years, the available options for command-line system monitoring tools have grown significantly. there top, htop, highlights, nmon, yotop, gtop, vtop, and to name a few. When it comes to Linux administration, monitoring your system performance, and usage of hardware resources in real time is very important and becomes critical in production server environment.

Bashtop displays general usage and statistics for processor, memory, storage, network, and processes.

using bashtop

As soon as you launch Bashtop, you will notice that it is very easy to use. The UI is controlled using this short list of keyboard shortcuts:

(Esc, M, m) - Shows main menu.
(F2, O, o) - Shows options.
(F1, H, h) - Shows help.
(Ctrl-C, Q, q) - Quits program.
(+, A, a) (-, S, s) - Add/Subtract 100ms to/from update timer.
(Up arrow) (Down arrow) - Select in process list.
(Enter) - Show detailed information for selected process.
(Pg Up) (Pg Down) - Jump 1 page in process list.
(Home) (End) - Jump to first or last page in process list.
(Left) (Right) - Select previous/next sorting column.
(b, B) (n, N) - Select previous/next network device.
(E, e) - Toggle processes tree view.
(R, r) - Reverse sorting order in processes box.
(F, f) - Input a string to filter processes with.
(C, c) - Clear any entered filter.
Selected (T, t) - Terminate selected process with SIGTERM - 15.
Selected (K, k) - Kill selected process with SIGKILL - 9.
Selected (I, i) - Interrupt selected process with SIGINT - 2.

With Bashtop, you can quickly view detailed statistics for processes, easily switch between sorting options, send SIGTERM, SIGKILL, SIGINT to a selected process, read and write current to your storage devices. speed and much more.

bashtop - filtering by process
Filtering to display only Nginx related processes.

bashtop pros

  • An easy-to-use and aesthetically pleasing user interface with a beautiful system-data overview.
  • Ubuntu 20.10 is available in the official repo of recent distros like – apt install bashtop and centos 8 – dnf install bashtop,
  • Also compatible with Mac and FreeBSD.

Bashtop Cons

  • Uses more CPU and RAM than top and htop.
  • Is necessary Bash v4.4 or later. (Not compatible with older distros like CentOS 7).


In a mission-critical setting, top, htop, and atop are still the best/time-proven choices. Along with other useful tools like net-tools, iptraf, Collectly, dstat, iostat, isotope, search and rescue, saidar And vmstat, For example, if you need to log into a remote Linux server that is experiencing high load or low available memory, consider memory and CPU footprint when choosing which tool to launch.

I’m using bashtop on my laptop and a few servers when I need to share easy-to-read memory, CPU, or process statistics. If you haven’t already, give it a try!

System monitors like bashtop are the gateway to APM

Command-line system monitors will often give you a quick look at which processes are the culprits for poor application performance. This is a good place to start.

However, if you are serious about application performance, you may want to set up Application Performance Monitoring (APM). APM provides a deeper and more detailed view of the impact of your code on resources, as well as insight into the end-users’ experience with your application.

APM empowers you with the data you need to decide whether to optimize the code or upgrade the hardware. With this in mind, I maintain a List of over 100 APM solutions This will be of interest to you if you run or plan to run the apps in production.

Leave a Comment