How to Install ‘atop’ to Monitor Logging Activity of Linux System Processes

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Marin Todorov

I am a bachelor in computer science and a Linux Foundation Certified System Administrator. Currently working as a Senior Technical support in the hosting industry. In my free time I like testing new software and inline skating.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

13 Responses

  1. Kelems says:

    On Ubuntu 18.04 the following changes/additions where necessary:

    # apt install build-essential

    “Config” file is now in /usr/share/atop/atop.daily.

  2. Punith says:

    Hey how to pass number of samples to atop

  3. bruno says:

    cd module; make
    make[1]: Entering directory `/root/netatop-0.3/module’
    echo start the make
    start the make
    make -C /lib/modules/2.6.32-042stab120.11/build M=/root/netatop-0.3/module modules
    make: Entering an unknown directory
    make: *** /lib/modules/2.6.32-042stab120.11/build: No such file or directory. Stop.
    make: Leaving an unknown directory
    make[1]: *** [netatop.ko] Error 2
    make[1]: Leaving directory `/root/netatop-0.3/module’
    make: *** [all] Error 2

    • Ravi Saive says:


      Why you compiling from source atop? when you can easily install from default repositories using your system package manager APT or YUM.

    • manydu says:

      Concerning: /lib/modules/2.6.32-042stab120.11/build: No such file or directory

      I just got the same error on Centos 7. Apparently “uname -r” output mismatches the name of the kernel files the netatop needs (some minor version number differences).

      Here’s the solution:

      # yum -y install "kernel-devel-uname-r == $(uname -r)"
  4. Rifai says:

    No per process network counter available, is coming when i run atopsar -N after installing netatop following your steps above.

  5. Kernel Training says:

    Hi, atop is really a good software to monitor system processes. first when i install this. I got error again after trying two times i got the same error. Then i discussed with my mentor about this. he resolved the issue.Thanks for sharing this blog post.

  6. Jamie says:

    hi … i’m a linux newbie and am using SLES 11. How would i go about getting atop installed on SLES … it doesn’t appear to be mentioned above

    • Ravi Saive says:


      Yeah, you can install atop on Suse Linux with the help of following commands.

      # zypper addrepo
      # zypper refresh
      # zypper install atop
  7. DuongNgo says:

    Hi everyone,

    I would like to see log in a period time: atop -r -b 15:45 -e 16:20
    But i only see a log right after the beginning time (15:45). How i can see the next log.

    Thank you so much.

  8. Marin Torov says:

    Hello maqsimum,

    If you have used the epel repository to install the package, the configuration can be found in:


    You can use this command:

    sed ‘s/600/60/’ /etc/sysconfig/atop -i

  9. maqsimum says:

    When I run the command to modify atop from 600 seconds to 60, it gives an error:

    # sed ‘s/600/60/’ /etc/atop/atop.daily -i
    sed: can’t read /etc/atop/atop.daily: No such file or directory

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.