Giter Club home page Giter Club logo

Comments (5)

edouard-lopez avatar edouard-lopez commented on August 14, 2024 2

@raboof After some wonder I went across the checkinstall tool that relly simplify package creation for RedHat-based and Debian-based distros.

It installs and creates a package for your distro your local dir, so you can easily install/uninstall/distribute(?) the tool:

make && sudo -k checkinstall \
    --pkgsource="https://github.com/raboof/nethogs/" \
    --pkglicense="GPL2" \
    --deldesc=no \
    --nodoc \
    --maintainer="$USER\\<[email protected]\\>" \
    --pkgarch=$(dpkg \
    --print-architecture) \
    --pkgversion="0.8.1" \
    --pkgrelease="SNAPSHOT" \
    --pkgname=nethogs \
    --requires="libc6 \(\>= 2.4\),libgcc1 \(\>= 1:4.1.1\),libncurses5 \(\>= 5.5-5~\),libpcap0.8 \(\>= 0.9.8\),libstdc++6 \(\>= 4.1.1\),libtinfo5" \
    make install
`
Maybe you can hook it with github or a CI integration tool.

from nethogs.

PeterPablo avatar PeterPablo commented on August 14, 2024

Back-reference: raspberrypi/firmware#521

from nethogs.

raboof avatar raboof commented on August 14, 2024

Should be fixed in 0.8.1 indeed! Let me know if you run into any further trouble

from nethogs.

edouard-lopez avatar edouard-lopez commented on August 14, 2024

For reference, I got this issue on Kubuntu 15.10 and 0.8.0

Kernel

$ uname -a
Linux xyz 4.2.0-27-generic #32-Ubuntu SMP Fri Jan 22 04:49:08 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Release

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 15.10
Release:        15.10
Codename:       wily

Version

$ nethogs -V
version 0.8.0

from nethogs.

edouard-lopez avatar edouard-lopez commented on August 14, 2024

As it's not available in repo nor PPA you need to build it (it is really easy and quickly done).

Fetch and extract

wget -c https://github.com/raboof/nethogs/archive/v0.8.1.tar.gz
tar xf v0.8.1.tar.gz 
cd ./nethogs-0.8.1/

Install dependencies and build

sudo apt-get install libncurses5-dev libpcap-dev
make && sudo make install 

Check and run

nethogs -V
sudo nethogs

Also in Nethogs → creating socket failed while establishing local IP - are you root?

from nethogs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.