Install and patch Nethog

Error:

———-

nethogs: cui.cpp:80: void Line::show(int, unsigned int): Assertion `m_pid <= 100000′ failed.
Aborted (core dumped)

———

Soln:

wget http://sourceforge.net/projects/nethogs/files/nethogs/0.8/nethogs-0.8.0.tar.gz/download?use_mirror=iweb
tar -xvzf nethogs-0.8.0.tar.gz
cd nethogs/
yum install libpcap libpcap-devel
http://sourceforge.net/p/nethogs/patches/_discuss/thread/f9045ed7/107d/attachment/nethogs-0.8.0-alt-pid32.patch
/usr/bin/patch -p1 < nethogs-0.8.0-alt-pid32.patch
make
make install

/usr/local/sbin/nethogs eth0

Advertisements
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: