nethogs

Monitor bandwidth usage per process.

Install

All systems
curl cmd.cat/nethogs.sh
Debian Debian
apt-get install nethogs
Ubuntu
apt-get install nethogs
Alpine
apk add nethogs
Arch Arch Linux
pacman -S nethogs
image/svg+xml Kali Linux
apt-get install nethogs
Fedora
dnf install nethogs
OS X
brew install nethogs
Raspbian
apt-get install nethogs
Docker
docker run cmd.cat/nethogs nethogs powered by Commando

Monitor bandwidth usage per process.

  • Start nethogs as root (default device is eth0):
    sudo nethogs
  • Monitor bandwidth on specific device:
    sudo nethogs device
  • Monitor bandwidth on multiple devices:
    sudo nethogs device1 device2
  • Specify refresh rate:
    sudo nethogs -t seconds

© tl;dr; authors and contributors