2016-03-08 19:51:19 +08:00
2011-08-27 11:35:31 +00:00
2016-03-03 21:41:59 +08:00
2016-03-01 00:09:04 +01:00
2013-05-12 12:13:55 +00:00
2016-01-18 14:55:53 +01:00
2016-01-18 14:55:53 +01:00
2016-03-04 20:45:10 +08:00
2004-09-15 12:49:05 +00:00
2016-01-18 14:55:53 +01:00
2004-06-29 13:31:04 +00:00
2016-03-08 19:51:19 +08:00
2016-03-08 19:51:19 +08:00
2016-03-03 21:34:25 +08:00
2016-03-08 19:51:19 +08:00
2013-05-12 12:13:55 +00:00
2016-03-03 21:34:25 +08:00
2016-03-03 21:34:25 +08:00
2016-03-03 21:34:25 +08:00
2016-03-04 20:45:10 +08:00
2016-03-04 20:45:10 +08:00
2005-07-24 16:14:51 +00:00
2016-03-04 19:47:36 +08:00
2016-03-04 19:47:36 +08:00

Nethogs

Build Status

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.

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

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.

Building from source

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.

Debian/Ubuntu

apt-get install libncurses5-dev libpcap-dev

After that, simply

make && sudo make install

Coding standards

Can anyone recommend a sensible set? :)

For now:

  • '{'
  • on a new line for function definitions
  • on a new line for enums
  • on the same line for conditionals/loops
  • omitted when possible
  • use tab for indentation
  • use doxygen/javadoc-style comments.
  • for multiline doxygen docs, add a newline after '/**'
  • case
  • classes: camelcased, start uppercase
  • enums: camelcased, start uppercase
  • functions: camelcased, start lowercase
  • local variables: camelcased, start lowercase

License

Copyright 2004-2005, 2008, 2010-2012, 2015 Arnout Engelen arnouten@bzzt.net License: nethogs may be redistributed under the terms of the GPLv2 or any later version. See the COPYING file for the license text.

Description
No description provided
Readme 1.2 MiB
Languages
C++ 58.5%
HTML 18.1%
C 10.4%
Python 4.3%
Shell 3.8%
Other 4.9%