Package Details: netatop-dkms 2.0-2

Git Clone URL: (read-only, click to copy)
Package Base: netatop-dkms
Description: Atop network kernel module, enables network statistics in atop
Upstream URL:
Keywords: atop dkms kernel module netatop
Licenses: GPL
Groups: modules
Conflicts: netatop
Submitter: m1kc
Maintainer: m1kc
Last Packager: m1kc
Votes: 11
Popularity: 0.189986
First Submitted: 2015-06-02 10:10
Last Updated: 2020-03-02 11:24

Latest Comments

1 2 Next › Last »

111MilesToGo commented on 2020-03-12 11:37

Looking at netatop, v3.0 is out now and available in the AUR. Please, is it possible to update netatop-dkms to v3.0? Thanks a lot in advance.

m1kc commented on 2020-03-02 11:31

Package updated. Added patch for kernels >= 5.5 - big thanks to people who did all the research work. LTS kernels are now supported as well.

bartus commented on 2020-02-28 14:48

Patch for kernel>=5.5

git am < <(curl -s

111MilesToGo commented on 2020-02-27 14:19

IF the fix applied to netatop (not the dkms) for 5.5 kernels is correct, could you then please apply it to netatop-dkms, too. Thanks a lot.

eggz commented on 2020-01-26 13:08

it seems that, for the 5.5 kernels, the C code has changed somehow. I'm not A C coder, but it seems that the suggestion in the error of the dkms build just works.

dkms install -m netatop -v 2.0 -k 5.5.0-rc7-New #(my test 5.5rc kernel, just like linux-mainline)

---errordump--- /var/lib/dkms/netatop/2.0/build/netatop.c:969:33: error: 'struct task_struct' has no member named 'real_start_time'; did you mean 'start_time'? 969 | tip->btime = div_u64((current->real_start_time + | ^~~~~~~~~~~~~~~ | start_time ---errordump---

Now I just tried what it suggested and it worked:

sed -i 's/real_start_time/start_time/g' /usr/src/netatop-2.0/netatop.c

dkms install -m netatop -v 2.0 -k 5.5.0-rc7-New

---outputdump--- Kernel preparation unnecessary for this kernel. Skipping...

Building module: cleaning build area... make -j24 KERNELRELEASE=5.5.0-rc7-New -C /usr/lib/modules/5.5.0-rc7-New/build M=/var/lib/dkms/netatop/2.0/build... cleaning build area... Kernel cleanup unnecessary for this kernel. Skipping...

DKMS: build completed. ---outputdump---

Does this make sense what I'm saying? Or did I just get lucky? Hope this helps someone.

stef204 commented on 2016-09-27 19:59

@m1kc thanks for this package.
@hrast i've just installed it and it built both dkms modules; the libalpm hooks take care of it automatically:
==> dkms install -m netatop -v 1.0 -k 4.4.22-1-lts
==> dkms install -m netatop -v 1.0 -k 4.7.4-1-ARCH
and it does work with both kernels.
not so for you?

m1kc commented on 2016-08-25 17:51

I'm sorry. I've never tried to build this module against an LTS kernel and currently have no plans to support this option. However, if you have an idea how to make it work, feel free to submit a PR:

hrast commented on 2016-08-21 23:34

Can you update this to build using the linux-lts-headers instead of just linux-headers?

EDIT - Reading around, you may not be able to.

m1kc commented on 2016-06-19 21:30

Package updated. Sorry for the delay.

cobalt commented on 2016-06-11 00:06

==> ERROR: groups should be an array

/tmp/yaourt-tmp/aur-netatop-dkms/src/netatop-0.7/module/netatop.c:1733:19: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]