Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/berghetti/netproc
tool to monitor network traffic based on processes
https://github.com/berghetti/netproc
bandwidth-monitor bandwidth-processes linux monitor-network-traffic network-analysis network-monitoring networking process-bandwidth process-monitor processes-throughput
Last synced: 3 months ago
JSON representation
tool to monitor network traffic based on processes
- Host: GitHub
- URL: https://github.com/berghetti/netproc
- Owner: berghetti
- License: gpl-3.0
- Created: 2019-07-03T01:24:20.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-09-18T21:04:10.000Z (about 1 year ago)
- Last Synced: 2024-02-17T06:36:13.990Z (9 months ago)
- Topics: bandwidth-monitor, bandwidth-processes, linux, monitor-network-traffic, network-analysis, network-monitoring, networking, process-bandwidth, process-monitor, processes-throughput
- Language: C
- Homepage:
- Size: 7.4 MB
- Stars: 52
- Watchers: 3
- Forks: 7
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
# Netproc
tool to monitor network traffic based on processes
![Alt Text](img/print.png)
#### [Dependences]
[Debian based]
$ sudo apt install gcc make libncurses-dev[Red Hat Based]
$ sudo yum install gcc make ncurses-devel#### [Install]
$ git clone https://github.com/berghetti/netproc.git
$ cd netproc
$ make
$ sudo make install##### [Install single command]
$ git clone https://github.com/berghetti/netproc.git; cd netproc; make; sudo make install#### [Options / usage]
Usage: netproc [options]Options:
-B, --bytes view in bytes, default in bits
-c visualization each active connection of the process
-f, --file "filename" save statistics in file, file name is optional,
default is 'netproc.log'
-h, --help show this message
-i, --interface iface specifies an interface, default is all
(except interface with network 127.0.0.0/8)
-n numeric host and service, implicit '-c', try '-nh' to no
translate only host or '-np' to not translate only service
-p, --protocol tcp|udp specifies a protocol, the default is tcp and udp
-v, --verbose verbose mode, alse show process without traffic
--si show SI format, with powers of 10, default is IEC,
with powers of 2
-V, --version show versionwhen running press:
arrow keys scroll
s change column-based sort
q exit#### [Running without root]
$ sudo setcap "cap_net_admin,cap_net_raw+pe" /usr/local/sbin/netproc#### [uninstall]
$ sudo make uninstall#### [Debug]
$ make clean
$ DEBUG=1 make
$ sudo ./bin/netproc 2> log.txt$ sudo DESTDIR=/tmp make install