LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 03-06-2018, 10:24 PM   #1
svrmrdr
LQ Newbie
 
Registered: Mar 2018
Posts: 1

Rep: Reputation: Disabled
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.
 
Old 03-13-2018, 06:39 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make error when compiling netatop kernel patch in amazon linux lblake Linux - Software 2 01-03-2016 11:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 05:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration