Atop is an ASCII full-screen performance monitor, similar to the top command, but atop only shows the active system-resources and processes, and only shows the deviations since the previous interval. At regular intervals, it shows system-level activity related to the CPU, memory, swap, disks and network layers, and it shows for every active process the CPU utilization in system and user mode, the virtual and resident memory growth, priority, username, state, and exit code. The process level activity is also shown for processes which finished during the last interval, to get a complete overview about the consumers of things such as CPU time. In this tutorial, I will show you ways to install atop Ubuntu 22.04.
Requirements to install
- Operating system: Ubuntu 22.04 or older Ubuntu versions
- Privileges: Ascertain that you are able to execute sudo commands.
Install atop Ubuntu 22.04
atop is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.
Install atop using APT
This is a popular method for installing Ubuntu packages since it’s simple to understand, even if you’re new to Linux. Following these instructions to get atop on your Ubuntu 22.04.
Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing this Linux command:
Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install atop Ubuntu by executing this command in the terminal.
Install atop using Aptitude
Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already installed it on Ubuntu, run this command to do so.
After that, you can now install atop by following these steps:
Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launch the terminal and enter the following Linux command:
Step 2: Start the package installation on Ubuntu 22.04. You can now install atop Ubuntu by executing this command in the terminal.
Uninstall atop on Ubuntu 22.04
Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just atop.
If you installed atop using APT or Aptitude, you could uninstall atop on Ubuntu by executing this command
To uninstall atop and remove its data and dependencies, you can also use the following command:
In this guide, I showed you ways to install atop on Ubuntu 22.04 and some ways to uninstall atop too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.