You are here : Home > Linux > nethogs-qt

us nethogs-qt : Monitor Per Process Network Bandwidth Usage in Real Time.

fr nnethogs-qt : Monitor Per Process Network Bandwidth Usage in Real Time.

Screenshot

screenshot

Source Code

Install on Ubuntu 19.04 or 20.04


1) Install required packages
sudo apt-get update
sudo apt-get install g++ make qt5-default qt5-qmake git libpcap-dev libqt5charts5-dev qttools5-dev-tools

2) Install nethogs-qt
wget http://slist.lilotux.net/linux/nethogs-qt/nethogs-qt-0.0.8.tgz
tar zxvf nethogs-qt-0.0.8.tgz
cd nethogs-qt-0.0.8
qmake
make

3) Play
sudo ./nethogs-qt

Install on Ubuntu 16.10


1) Install required packages
sudo apt-get update
sudo apt-get install g++ make qt5-default qt5-qmake git libpcap-dev

2) Install qtcharts
git clone https://github.com/qtproject/qtcharts.git
cd qtcharts
qmake
make
sudo make install
cd ..

3) Install nethogs-qt
wget http://slist.lilotux.net/linux/nethogs-qt/nethogs-qt-0.0.4.tgz
tar zxvf nethogs-qt-0.0.4.tgz
cd nethogs-qt-0.0.4
qmake
make

4) Play
sudo ./nethogs-qt


Install on CentOS 8.2


1) Install prerequisites

sudo yum install qt5-qtbase qt5-qtbase-devel vim-X11 gcc-c++ qt5-linguist
sudo ln -s /usr/bin/qmake-qt5 /usr/bin/qmake
sudo ln -s /usr/bin/lrelease-qt5 /usr/bin/lrelease

2) Install QtCharts

sudo yum -y install epel-release
sudo yum install qt5-qtcharts-devel

3) Install libpcap-devel

sudo dnf --enablerepo=PowerTools install libpcap-devel

4) Install nethogs-qt

wget http://slist.lilotux.net/linux/nethogs-qt/nethogs-qt-0.0.8.tgz
tar zxvf nethogs-qt-0.0.8.tgz
cd nethogs-qt-0.0.8
qmake
make

4) Play

export DISPLAY=:0
xhost +
sudo ./nethogs-qt

React !

Limit bandwith of an application

With Trickle for example
trickle

Block network for an application

With AppArmor for example
apparmor

Internationalisation (i18n)

If you want to see nethogs-qt in your language:
  • Add your language in nethogs-qt.pro (copy fr example)
  • lupdate nethogs-qt.pro
  • linguist
  • lrelease nethogs-qt.pro
  • Send me the result by mail