LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Mint (https://www.linuxquestions.org/questions/linux-mint-84/)
-   -   netatop (https://www.linuxquestions.org/questions/linux-mint-84/netatop-4175625099/)

svrmrdr 03-06-2018 10:24 PM

netatop
 
Hello all. So, I'm running Mint 18.2 kernel version 4.14.15-041415-generic with generic headers installed. I followed the guide on atoptool.nl to make/make install the netatop version 2 software. First, here's the output of the make and make install for verification that the code actually installed:
make
----Begin Paste----
# make
./mkversion
cd module; make
make[1]: Entering directory '/home/jk/Downloads/neta/netatop-2.0/module'
echo start the make
start the make
make -C /lib/modules/4.14.15-041415-generic/build M=/home/jk/Downloads/neta/netatop-2.0/module modules
make[2]: Entering directory '/usr/src/linux-headers-4.14.15-041415-generic'
CC [M] /home/jk/Downloads/neta/netatop-2.0/module/netatop.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/jk/Downloads/neta/netatop-2.0/module/netatop.mod.o
LD [M] /home/jk/Downloads/neta/netatop-2.0/module/netatop.ko
make[2]: Leaving directory '/usr/src/linux-headers-4.14.15-041415-generic'
make[1]: Leaving directory '/home/jk/Downloads/neta/netatop-2.0/module'
cd daemon; make
make[1]: Entering directory '/home/jk/Downloads/neta/netatop-2.0/daemon'
cc -c -o netatopd.o netatopd.c
cc netatopd.o -o netatopd -lz
make[1]: Leaving directory '/home/jk/Downloads/neta/netatop-2.0/daemon'
----End Paste----

make install
----Begin Paste----
# make install
install -d /lib/modules/`uname -r`/extra
install -m 0644 module/netatop.ko -t /lib/modules/`uname -r`/extra
depmod
install daemon/netatopd -t /usr/sbin
install -T -m 0755 netatop.init /etc/init.d/netatop
install man/netatop.4 -t /usr/share/man/man4
install man/netatopd.8 -t /usr/share/man/man8
----End Paste----

As per the instructions, I should now be able to view network statistics using the "sudo atop -n" command, but when I do, I get the following message:
----Begin Paste----
sudo atop -n
No kernel-patch installed (no network-statistics)
----End Paste----

I've also tried running it while logged in as root with the same message that the kernel-patch couldn't be found (identical to the one above, paraphrasing here).

Has anyone managed to get atop -n working on Linux Mint 18.2? Much Googling, reading atoptool.nl's website, searching through this site, ubuntu forums and bug reports, I'm unable to find the solution elsewhere. Any/all info would be great.

hydrurga 03-13-2018 06:39 AM

Have you started the netatop service as per https://atoptool.nl/downloadnetatop.php#install ?


All times are GMT -5. The time now is 05:31 AM.