atop install CentOS 7 Linux Ubuntu amazon 2 command

We will learn about how to install atop command in CentOS 7, Linux, Ubuntu, Amazon Linux, and Amazon Linux 2.

The atop command is an advanced system and process monitor tool, which is used to monitor the process of CPU, Memory, Disk, and Network.

So we will see how to install on CentOS by using yum install and rpm packages for the atop command, and in Ubuntu install atop via apt command or by Debian package.

atop install Linux
How to Install atop via yum command in CentOS 6/7/8

Command:
$ sudo yum install epel-release -y
$ sudo yum install atop -y
How to Install atop via rpm command in CentOS 8

Command:
$ wget https://download-ib01.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/a/atop-2.4.0-4.el8.x86_64.rpm

$ sudo rpm -ivh atop-2.4.0-4.el8.x86_64.rpm
How to Install atop via rpm command in CentOS 7

Command:
$ wget https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/a/atop-2.4.0-4.el7.x86_64.rpm

$ sudo rpm -ivh atop-2.4.0-4.el7.x86_64.rpm
How to Install atop via rpm command in CentOS 6

Command:
$ wget https://download-ib01.fedoraproject.org/pub/epel/6/x86_64/Packages/a/atop-1.27-3.el6.x86_64.rpm

$ sudo rpm -ivh atop-1.27-3.el6.x86_64.rpm
How to Install atop via apt and apt-get command in Ubuntu 16/18/20

Command:
$ sudo apt-get install atop
$ sudo apt install atop
How to Install atop via dpkg in Ubuntu 20

Command:
$ wget http://archive.ubuntu.com/ubuntu/pool/universe/a/atop/atop_2.4.0-3_amd64.deb

$ sudo dpkg -i atop_2.4.0-3_amd64.deb
How to Install atop via dpkg in Ubuntu 18

Command:
$ wget http://archive.ubuntu.com/ubuntu/pool/universe/a/atop/atop_2.3.0-1_amd64.deb

$ sudo dpkg -i atop_2.3.0-1_amd64.deb
How to Install atop via dpkg in Ubuntu 16

Command:
$ wget http://archive.ubuntu.com/ubuntu/pool/universe/a/atop/atop_1.26-2build1_amd64.deb

$ sudo dpkg -i atop_1.26-2build1_amd64.deb

atop command install Linux CentOS 6/7/8.

So we will install atop command by using the yum command and the rpm package.

— Install atop via yum —

In CentOS 6/7/8

$ sudo yum install epel-release -y
$ sudo yum install atop -y

— Install atop via rpm package —

In CentOS 6:

$ wget https://download-ib01.fedoraproject.org/pub/epel/6/x86_64/Packages/a/atop-1.27-3.el6.x86_64.rpm
$ sudo rpm -ivh atop-1.27-3.el6.x86_64.rpm

Also, we can use yum command instead wget and rpm command,

$ yum install https://download-ib01.fedoraproject.org/pub/epel/6/x86_64/Packages/a/atop-1.27-3.el6.x86_64.rpm

In CentOS 7:

$ wget https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/a/atop-2.4.0-4.el7.x86_64.rpm
$ sudo rpm -ivh atop-2.4.0-4.el7.x86_64.rpm
$ yum install https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/a/atop-2.4.0-4.el7.x86_64.rpm

In CentOS 8:

$ wget https://download-ib01.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/a/atop-2.4.0-4.el8.x86_64.rpm
$ sudo rpm -ivh atop-2.4.0-4.el8.x86_64.rpm

Or we can directly use yum command also to install the atop command in Linux CentOS 8

$ yum install https://download-ib01.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/a/atop-2.4.0-4.el8.x86_64.rpm

So, we have successfully installed atop command in the CentOS 6, 7, and 8 servers and use atop command by using “atop” in the bash.

$ atop
atop install CentOS 7 Linux Ubuntu amazon 2 command

atop command install Linux Ubuntu Server.

So, we will Install atop command in Ubuntu by using apt or apt-get command and by downloading the Package.

— Install atop via apt-get and apt —

In Ubuntu 16:

$ sudo apt-get install atop

So this will install all the dependencies of the atop command as well, and use apt command for Ubuntu 18 and Ubuntu 20

In Ubuntu 18/20:

$ sudo apt install atop

— Install atop via package —

In Ubuntu 16:

$ wget http://archive.ubuntu.com/ubuntu/pool/universe/a/atop/atop_1.26-2build1_amd64.deb 

So, we have download the package now we will install by using dpkg.

$ sudo dpkg -i atop_1.26-2build1_amd64.deb

In Ubuntu 18:

$ wget http://archive.ubuntu.com/ubuntu/pool/universe/a/atop/atop_2.3.0-1_amd64.deb

So, we have to download the package for Ubuntu 18, let’s use the dpkg command to install.

$ sudo dpkg -i atop_2.3.0-1_amd64.deb

In Ubuntu 20:

$ wget http://archive.ubuntu.com/ubuntu/pool/universe/a/atop/atop_2.4.0-3_amd64.deb.

So, now we will install the package using the dpkg command.

$ sudo dpkg -i atop_2.4.0-3_amd64.deb

Refer the link if you want to download the atop of any other distributors.

atop logs Linux path.

In the atop command we can manage the logs on a daily basis, so we can get the utilization details of any specific day or time.

But for that, we have to start the service of the atop by using “systemctl command”

$ sudo systemctl start atop

After we have started the service we will check the status of the atop command

$ sudo systemctl status atop

By starting the service it will start to create the logs files in the /var/log/atop directory.

So we have used the ls command to check the logs that are generating into the /var/log/atop.

These files are created in Binary(raw) format, so we will use the -r option with atop command.

$ atop -r atop_20200817

If you have to stop the service of atop then use “systemctl stop atop”

$ sudo systemctl stop atop

If you have to learn top command output explained and top command in Linux refer the links and to learn htop command in Linux refer the following link.

atop install, atop install Linux, atop install Ubuntu, atop install centos, atop install centos 7, install atop on Amazon Linux 2, atop install Redhat, atop logs, atop logs path, atop logs missing, view atop logs, read atop logs

One Reply to “atop install CentOS 7 Linux Ubuntu amazon 2 command”

Give your valuable time