Process management in a gamer outfit
Presets
Now let's take a look at how to use btop to find the information and details you need, as well as to filter and manipulate processes.
You can see the cpu, menu, and preset buttons on the left in the top line (Figure 6). We have already looked at the menu. The three presets are presets for the layout that influence the graphical display. You can define up to nine presets yourself in the general tab to customize the display in a granular way.
Pressing the 1 to 4 keys hides respective areas to free up space for the other displays. Pressing the key again shows the display box in question once more. The 1 key hides the CPU area, 2 removes the values for RAM and hard disks, and 3 causes the network data to disappear. If you only want a large-scale view of the process list, just press 1, 2, and 3. Or, conversely, press 4 to remove the process area.
Editing Processes
To sort, filter, and manipulate the data displayed in btop, such as the process list, click on the small buttons in the headers or type the letter highlighted in the button. For example, to filter the running processes, you can click the Filter button just above the process list, or press F. Pressing E displays the processes as a tree list, while pressing R reverses the order. For a breakdown of the processes by CPU core, press C.
If you select a process and then press the Enter key, btop++ displays the details above the list. They include the status, runtime, RAM usage, owner, and parent process. You can terminate unruly processes here by pressing T or terminate. If that doesn't work, you send a kill signal to the process by pressing K or clicking on kill. (Signals are simple system messages to a running process, usually used to stop or terminate the process [8]. Typing the kill -l
command on the console displays all the signals you can send to a process.) You can send other signals to a process by pressing S or clicking on signals (Figure 6).
All told, the way btop++ visualizes the process properties and uses signals is far easier and also safer compared with htop. (Other potential alternatives to btop++ include the Python-based Glances [9] and the Rust-based bottom [10].)
Conclusions
After a long history of development, btop++ has become by far the best tool for system monitoring and process management on the console. The displays for the CPU, RAM, storage media, and network are clear and easily understandable. Manipulating processes is easier than ever. The simple keyboard controls become second nature after a few hours of use, and all of the functions can also be controlled using the mouse.
If the color scheme of the interface reminds you more of a computer game than serious work, you can change btop++'s look to display, say, gray hues, by choosing one of the various themes. The tool's configurability extends to every detail and shows how dedicated the developer is to his program. The readme on the GitHub project page [11] offers more than adequate documentation.
Infos
- bashtop: https://github.com/aristocratos/bashtop
- bpytop: https://github.com/aristocratos/bpytop
- btop++: https://github.com/aristocratos/btop
- Installing btop++: https://github.com/aristocratos/btop#installation
- Terminal emulators: https://github.com//termstandard/colors#terminal-emulators
- btop++ screenshots: https://github.com/aristocratos/btop#screenshots
- "Notice (Text rendering issues)": https://github.com/aristocratos/btop#notice-text-rendering-issues
- SIG: https://en.wikipedia.org/wiki/Signal_(IPC)
- Glances: https://github.com/nicolargo/glances
- bottom: https://github.com/ClementTsang/bottom
- btop++ readme: https://github.com/aristocratos/btop#readme
« Previous 1 2
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Rhino Linux Announces Latest "Quick Update"
If you prefer your Linux distribution to be of the rolling type, Rhino Linux delivers a beautiful and reliable experience.
-
Plasma Desktop Will Soon Ask for Donations
The next iteration of Plasma has reached the soft feature freeze for the 6.2 version and includes a feature that could be divisive.
-
Linux Market Share Hits New High
For the first time, the Linux market share has reached a new high for desktops, and the trend looks like it will continue.
-
LibreOffice 24.8 Delivers New Features
LibreOffice is often considered the de facto standard office suite for the Linux operating system.
-
Deepin 23 Offers Wayland Support and New AI Tool
Deepin has been considered one of the most beautiful desktop operating systems for a long time and the arrival of version 23 has bolstered that reputation.
-
CachyOS Adds Support for System76's COSMIC Desktop
The August 2024 release of CachyOS includes support for the COSMIC desktop as well as some important bits for video.
-
Linux Foundation Adopts OMI to Foster Ethical LLMs
The Open Model Initiative hopes to create community LLMs that rival proprietary models but avoid restrictive licensing that limits usage.
-
Ubuntu 24.10 to Include the Latest Linux Kernel
Ubuntu users have grown accustomed to their favorite distribution shipping with a kernel that's not quite as up-to-date as other distros but that changes with 24.10.
-
Plasma Desktop 6.1.4 Release Includes Improvements and Bug Fixes
The latest release from the KDE team improves the KWin window and composite managers and plenty of fixes.
-
Manjaro Team Tests Immutable Version of its Arch-Based Distribution
If you're a fan of immutable operating systems, you'll be thrilled to know that the Manjaro team is working on an immutable spin that is now available for testing.