Lead Image © citalliance, 123RF.com

Lead Image © citalliance, 123RF.com

A Bash-based monitoring tool

New Top in Town

Article from ADMIN 58/2020
In a sea of top-like tools, bashtop impresses with an easy-to-use and efficient interface.

The simple monitoring tool top is often used to monitor individual systems and can be used for debugging. Because it is such a valuable and highly used tool, similar tools have been created to improve upon it. I did a survey article in late 2014 that mentions several top-like tools [1] (some of which have evolved since then and some that have not).

One of the more common top-like tools, htop [2], is a bit more interactive than top, but it provides very similar information. htop uses ncurses for the interface but reads the data from /proc, as top does. It has a nice graph at the top of the default screen that presents the load on each of the cores. htop is also known for its interactivity with processes.

Although htop is one of the most popular top-like tools, as of this writing (May 2020), the main branch hasn't been updated for 16 months. Although not necessarily a bad thing, it is something to be noticed.

Another top-like tool is atop [3]. Like top, the first part of the output is a summary of system statistics and a list of the major processes appears at the bottom. atop breaks out the system, user, and idle time for the system cores. (It would be fun to try this on a 64-core CPU.) The top portion also covers network and disk information.

atop has a few keyboard shortcuts that allow you to dive deeper into various system aspects. For example, pressing the m key allows you to see memory details, d allows you to see more disk (I/O) details, and u allows you to get information on a per-user basis. One very interesting atop feature is that

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy ADMIN Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Bashtop, a Gorgeous Top-like Tool

    Fairly recently, a new top-like tool has received quite a bit of attention: bashtop, like other top-like tools, shows stats for the processor, memory, disks, network, and processes. Although it might sound like any other top tool, the interface is exceptional.

  • Top Top-Like Tools
    Admins solve problems ranging from slow servers to failing applications. The first tool I reach for when I need to check on a server with shell access is Top.
  • New Monitoring Tools

    If you like ASCII-based monitoring tools, take a look at three new tools – Zenith, Bpytop, and Bottom.

  • Nmon: All-Purpose Admin Tool

    HPC administrators sometimes assume that if all nodes are functioning, the system is fine. However, the most common issue users have is poor or unexpected application performance. In this case, you need a simple tool to help you understand what’s happening on the nodes.

  • Getting the most from your cores
    CPU utilization metrics tell you how well your applications are using your processing resources.
comments powered by Disqus