Merge remote-tracking branch 'origin/master' into multiple_addresses

This commit is contained in:
Arnout Engelen
2016-03-01 09:50:19 +01:00
2 changed files with 18 additions and 7 deletions

View File

@@ -6,3 +6,7 @@ addons:
- libpcap0.8-dev
script: make
os:
- linux
- osx

View File

@@ -8,9 +8,12 @@ http://raboof.github.io/nethogs
Introduction
------------
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 indentify programs that have gone wild and are suddenly taking up your bandwidth.
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 indentify programs that have gone wild and are suddenly taking up your bandwidth.
Since NetHogs heavily relies on `/proc`, some functionalities are only available on Linux.
Since NetHogs heavily relies on /proc, some functionalities are only available on Linux.
NetHogs can be built on Mac OS X, but it will only show connections, not processes.
Status
@@ -18,15 +21,19 @@ Status
Nethogs is a mature piece of software included in most Linux distributions.
Ideas for features, as well as open bugs, can be found at https://github.com/raboof/nethogs/issues
Ideas for features, as well as [open bugs](https://github.com/raboof/nethogs/issues?q=is%3Aopen+is%3Aissue), can be found on [issues' label:enhancement](https://github.com/raboof/nethogs/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement).
### Building from source
Nethogs depends on ncurses, so you need to install the ncurses development
libraries before building nethogs. For example on Debian, 'apt-get install
libncurses5-dev'.
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.
After that, simply 'make && sudo make install'
#### Debian/Ubuntu
apt-get install libncurses5-dev libpcap-dev
After that, simply
make && sudo make install
Coding standards
----------------