在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):raboof/nethogs开源软件地址(OpenSource Url):https://github.com/raboof/nethogs开源编程语言(OpenSource Language):C++ 75.1%开源软件介绍(OpenSource Introduction):NethogsIntroductionNetHogs 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 StatusNethogs 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. DownloadingYou can clone this repo or get a source release from https://github.com/raboof/nethogs/releases Building from sourceNethogs depends on Debian/Ubuntu
Yum-based distro's
Getting the sourceThe master branch is intended to be stable at all times:
BuildingAfter that, simply
InstallingFor all distributions
On Debian
UpgradingWhen upgrading (or downgrading), you can simply install the new version 'over' the old one. UninstallingIf you want to remove Nethogs from your system, you can:
Running without rootIn order to be run by a non-root user, nethogs needs the
Coding standardsWe 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. libnethogsApart 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 libnethogs is being used in https://github.com/mb-gh/gnethogs linksNethogs 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:
LicenseCopyright 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. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论