nethogs is a unique network monitoring tool that groups bandwidth by process rather than by connection. Unlike iftop which shows per-connection usage, nethogs reveals which applications are consuming your bandwidth, making it perfect for identifying resource-hungry processes on your Linux system.
📑 Table of Contents
Key Features
- Per-Process Monitoring – See bandwidth usage by application
- Real-Time Updates – Live refreshing display
- No Dependencies – Works without special kernel modules
- Simple Interface – Easy to read output
Installation
sudo apt install nethogs # Debian/Ubuntu
sudo dnf install nethogs # Fedora/RHEL
Basic Usage
# Monitor all interfaces
sudo nethogs
# Monitor specific interface
sudo nethogs eth0
# Set refresh rate
sudo nethogs -d 2
# Trace mode
sudo nethogs -t
Was this article helpful?