Nethogs Installation On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS

Nethogs Installation On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS

nethogs

Monitor bandwidth usage per process.

Maintainer: Paulo Roberto Alves de Oliveira (aka kretcheu)



Section: net

Install nethogs

  • Debian apt-get install nethogs Click to copy
  • Ubuntu apt-get install nethogs Click to copy
  • Alpine OS apk add nethogs Click to copy
  • Arch Linux pacman -S nethogs Click to copy
  • Kali Linux apt-get install nethogs Click to copy
  • Fedora dnf install nethogs Click to copy
  • Raspbian apt-get install nethogs Click to copy
  • macOS brew install nethogs Click to copy

Monitor bandwidth usage per process.

How to use nethogs?

Below are few example commands for nethogs that you can use in the terminal.

Start nethogs as root (default device is eth0):
sudo nethogsClick to copy
Monitor bandwidth on specific device:
sudo nethogs deviceClick to copy
Monitor bandwidth on multiple devices:
sudo nethogs device1 device2Click to copy
Specify refresh rate:
sudo nethogs -t secondsClick to copy
Installation of latest nethogs command is available for Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2024 latest package from the repository and install it in your computer/server.