0.8.8netΣ=2 0.8.8Version of this port present on the latest quarterly branch.upstream: v0.9.0A newer version was found upstream by portscout, first on 2026-07-23.
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.
In order for nethogs to work properly add the following entry to
/etc/fstab:
proc /proc procfs rw,noauto 0 0
noauto prevents /proc from being automatically mounted at boot.
To mount the file system without rebooting:
# mount /proc
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
net/nethogs: fix build on GCC architectures
Needs C++11 compiler:
inode2prog.cpp: In function 'std::string getprogname(pid_t)':
inode2prog.cpp:123: error: 'snprintf' is not a member of 'std'
Approved by: mentors (implicit approval)
Drop C++11 workaround for GCC < 6 after r449590
lang/gcc5 will expire in ~1 month. If someone still uses lang/gcc48
they should backport C++11 fix instead. QA on GCC architecuters is
currently limited to powerpc64 which uses GCC_DEFAULT.
PR: 193528
Mark BROKEN on i386
main.cpp:104:24: error: non-constant-expression cannot be narrowed from type
'unsigned int' to 'time_t' (aka 'int') in initializer list [-Wc++11-narrowing]
timeval timeout = {refreshdelay, 0};
^~~~~~~~~~~~
Reported by: pkg-fallout
MFH: 2019Q2
net/nethogs: unbreak with GCC < 6
inode2prog.cpp: In function 'std::string getprogname(pid_t)':
inode2prog.cpp:123: error: 'snprintf' is not a member of 'std'
Reported by: pkg-fallout (mips64)
Mark some ports failing on power64. In cases where the error message
was a stub, provide a real one.
While here, pet portlint.
Approved by: portmgr (tier-2 blanket)