New port: net/nethogs
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. WWW: https://github.com/raboof/nethogs PR: 213109 Submitted by: anastasios@mageirias.com Approved by: lme (mentor) Differential Revision: https://reviews.freebsd.org/D9892
This commit is contained in:
parent
ee0ed3feac
commit
7a5f344162
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=435501
@ -448,6 +448,7 @@
|
||||
SUBDIR += netcat
|
||||
SUBDIR += netdude
|
||||
SUBDIR += netembryo
|
||||
SUBDIR += nethogs
|
||||
SUBDIR += netmap
|
||||
SUBDIR += netpipes
|
||||
SUBDIR += netscript
|
||||
|
28
net/nethogs/Makefile
Normal file
28
net/nethogs/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= nethogs
|
||||
PORTVERSION= 0.8.5
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= net
|
||||
|
||||
MAINTAINER= anastasios@mageirias.com
|
||||
COMMENT= Small net top tool
|
||||
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= raboof
|
||||
|
||||
USES= gmake shebangfix
|
||||
|
||||
SHEBANG_FILES= determineVersion.sh
|
||||
bash_CMD= ${SH}
|
||||
|
||||
PLIST_FILES= man/man8/nethogs.8.gz \
|
||||
sbin/nethogs
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/nethogs
|
||||
|
||||
.include <bsd.port.mk>
|
3
net/nethogs/distinfo
Normal file
3
net/nethogs/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1488685002
|
||||
SHA256 (raboof-nethogs-v0.8.5_GH0.tar.gz) = 6a9392726feca43228b3f0265379154946ef0544c2ca2cac59ec35a24f469dcc
|
||||
SIZE (raboof-nethogs-v0.8.5_GH0.tar.gz) = 112385
|
5
net/nethogs/pkg-descr
Normal file
5
net/nethogs/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
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.
|
||||
|
||||
WWW: https://github.com/raboof/nethogs
|
10
net/nethogs/pkg-message
Normal file
10
net/nethogs/pkg-message
Normal file
@ -0,0 +1,10 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user