Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 612248

Summary: sys-process/atop ebuild needs to also build netatop kernel module
Product: Gentoo Linux Reporter: Reuben Martin <reuben.m>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: jesse, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.atoptool.nl/netatop.php
Whiteboard:
Package list:
Runtime testing required: ---

Description Reuben Martin 2017-03-10 20:43:09 UTC
atop can only monitor network io with the netatop kernel module installed. In theory it could be a separate package, but I'm not sure what the point would be since this is the only software (that I'm aware of) that uses the module.

atop has a big advantage over other system monitoring apps IMO when monitoring network io, since the kernel module allows monitoring without a heavy CPU footprint that the userspace equivalent has. (Take for example glances, which has a very nice looking interface, but can be a real CPU hog)

Reproducible: Always
Comment 1 Jesse Adelman 2017-08-02 19:16:02 UTC
@Ruben Martin: One point in netatop being a separate package would be making kernel rebuilds more straightforward. "emerge @module-rebuild" would capture this as a module, and would avoid having to rebuild all of atop just to build the module. :)

Right now, it is kind of sad that we can't take advantage of all of atop's integrated goodness with network stats per-process.
Comment 2 Larry the Git Cow gentoo-dev 2021-12-20 04:08:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15e061e8643f68741540b6020777898f9df2d7cb

commit 15e061e8643f68741540b6020777898f9df2d7cb
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-20 02:30:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-20 04:08:35 +0000

    sys-process/atop: add 2.7.0
    
    Closes: https://bugs.gentoo.org/612248
    Closes: https://bugs.gentoo.org/736406
    Closes: https://bugs.gentoo.org/777903
    Closes: https://bugs.gentoo.org/829356
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-process/atop/Manifest                          |   2 +
 sys-process/atop/atop-2.7.0.ebuild                 | 111 +++++++++++++++++++++
 .../atop/files/atop-2.7.0-netatop-makefile.patch   |  42 ++++++++
 sys-process/atop/files/atop.service-r1             |  11 ++
 sys-process/atop/files/netatop.rc                  |  17 ++++
 sys-process/atop/metadata.xml                      |  11 +-
 6 files changed, 190 insertions(+), 4 deletions(-)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-20 04:18:18 UTC
USE=modules now does this!