Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Stats | 16,374 | a day ago | 12 | mit | Swift | |||||
macOS system monitor in your menu bar | ||||||||||
Nethogs | 2,621 | a month ago | 1 | February 27, 2018 | 84 | gpl-2.0 | C++ | |||
Linux 'net top' tool | ||||||||||
Awesome Pcaptools | 2,567 | 8 months ago | 8 | cc0-1.0 | ||||||
A collection of tools developed by other researchers in the Computer Science area to process network traces. All the right reserved for the original authors. | ||||||||||
Iglance | 2,328 | 8 months ago | 39 | gpl-3.0 | Swift | |||||
Free system monitor for OSX and macOS. See all system information at a glance in the menu bar. | ||||||||||
Trackerjacker | 2,156 | 4 years ago | 78 | November 30, 2018 | 13 | mit | Python | |||
Like nmap for mapping wifi networks you're not connected to, plus device tracking | ||||||||||
Mthawkeye | 1,425 | 1 | 2 months ago | 12 | October 22, 2020 | 7 | mit | Objective-C | ||
Profiling / Debugging assist tools for iOS. (Memory Leak, OOM, ANR, Hard Stalling, Network, OpenGL, Time Profile ...) | ||||||||||
Networkeye | 1,299 | 21 | 3 years ago | 19 | September 25, 2019 | 16 | mit | Objective-C | ||
a iOS network debug library, monitor HTTP requests | ||||||||||
Nzyme | 1,206 | a day ago | 106 | other | Java | |||||
Network Defense System. | ||||||||||
Vnstat | 1,142 | 16 days ago | 1 | February 27, 2018 | 9 | gpl-2.0 | C | |||
vnStat - a network traffic monitor for Linux and BSD | ||||||||||
Bmon | 977 | 7 months ago | 1 | February 27, 2018 | 46 | other | C | |||
bandwidth monitor and rate estimator |
NetHogs is a small 'net top' tool. Instead of breaking the traffic down per protocol or per subnet, like most tools do, it groups bandwidth by process.
NetHogs does not rely on a special kernel module to be loaded. If there's suddenly a lot of network traffic, you can fire up NetHogs and immediately see which PID is causing this. This makes it easy to identify programs that have gone wild and are suddenly taking up your bandwidth.
Since NetHogs heavily relies on /proc
, most features are only available on Linux.
NetHogs can be built on Mac OS X and FreeBSD, but it will only show connections, not processes.
Nethogs is a mature piece of software included in most Linux distributions.
Ideas for features, as well as open bugs, can be found on issues' label:enhancement.
You can clone this repo or get a source release from https://github.com/raboof/nethogs/releases
Nethogs depends on ncurses
for the text-based interface and libpcap
for user-level packet capture. So you need to install both development libraries before building nethogs.
apt-get install build-essential libncurses5-dev libpcap-dev
yum install gcc-c++ libpcap-devel.x86_64 libpcap.x86_64 "ncurses*"
The master branch is intended to be stable at all times:
git clone https://github.com/raboof/nethogs
After that, simply
make
sudo ./src/nethogs
sudo make install
hash -r
sudo nethogs
sudo apt-get install checkinstall
sudo checkinstall -D make install
sudo dpkg -i nethogs*.deb
sudo pacman -S nethogs
When upgrading (or downgrading), you can simply install the new version 'over' the old one.
If you want to remove Nethogs from your system, you can:
sudo make uninstall
In order to be run by a non-root user, nethogs needs the cap_net_admin
and cap_net_raw
capabilities; additionally, to read and display process names, cap_dac_read_search
and cap_sys_ptrace
capabilities are required. These can be set on the executable by using the setcap
command, as follows:
sudo setcap "cap_net_admin,cap_net_raw,cap_dac_read_search,cap_sys_ptrace+pe" /usr/local/sbin/nethogs
We use the LLVM coding standards, with the exception that we do allow 'return' after 'else' if it makes the code more readable.
Note to contributors: feel free to request more exceptions and we'll list them here.
Not all code currently adheres to this standard. Pull requests fixing style are welcome, and do write new code in the proper style, but please do not mix style fixes and new functionality in one pull request.
When writing new code, at least run 'make format' to have clang-format fix some superficial style aspects.
Apart from the 'nethogs' tool, this codebase now also builds as a 'libnethogs' library. This is highly experimental, and we expect to break source and binary compatibility while we look for the right abstraction points. Packaging libnethogs as an independent package is currently discouraged, as the chance of different applications successfully using the same libnethogs are slim.
Build it with make libnethogs
, install with make install_lib
or make install_dev
.
libnethogs is being used in mb-gh/gnethogs
Nethogs monitors traffic going to/from a machine, per process. Other tools rather monitor what kind of traffic travels to, from or through a machine, etcetera. I'll try to link to such tools here. By all means open an issue/PR if you know another:
Copyright 2004-2005, 2008, 2010-2012, 2015 Arnout Engelen [email protected] License: nethogs may be redistributed under the terms of the GPLv2 or any later version. See the COPYING file for the license text.