netproc(8)
๐ netproc(8) โ the manual, but make it slay ๐
okay bestie, welcome to netproc(8), the man page you're gonna actually read. grab a snack ๐, we're doing this.
โจ NAME โจ
netproc โ a process-based network monitoring tool. she watches the traffic and tells you which process it belongs to. main character energy, honestly. ๐
๐ฆ SYNOPSIS ๐ฆ
netproc [-B] [-c] [-f [filename]] [-h] [-i iface] [-n] [-p udp | tcp] [-v]
[--si]
๐ธ DESCRIPTION ๐ธ
So basically netproc monitors network traffic and tries to figure out which process this traffic belongs to. it's literally the move when you wanna know, fast, who is out here eating all your network resources. no cap. ๐ญ
as of right now, netproc supports the TCP and UDP protocols over the IPv4 protocol. that's the vibe. ๐
๐ OPTIONS ๐
-B,--bytesโ view stuff in bytes. default is bits, just so you know. ๐ข-cโ visualization of each active connection of the process. so you can see every single one, iconic. โจ--color 1|2|3โ pick your color scheme.1is the default. (yes, aesthetics matter. always.) ๐-f,--file "filename"โ save statistics into a file.filenameis optional, and the default is'netproc.log'. receipts, but on disk. ๐-h,--helpโ show this message. hi, that's me, I'm the message. ๐-i,--interface ifaceโ specifies an interface. default is all of them, except the interface with network127.0.0.0/8(bye loopback, love you tho). ๐ฆ-nโ numeric host and service, and it's implicit-c. try-nhif you only wanna not translate the host, or-npif you only wanna not translate the service. iykyk. ๐-p,--protocol tcp|udpโ specifies a protocol. default is tcp and udp, because why choose. ๐--siโ show SI format, with powers of1000. default is IEC, with powers of1024. math is math. ๐ง-v,--verboseโ verbose mode. also shows processes without traffic. yes, the quiet ones too. ๐-V,--versionโ show version. ๐
๐ฎ RUNNING CONTROL ๐ฎ
- arrow keys โ scroll. move around, explore, live a little. ๐ธ
sโ change column-based sort. reorder the whole situation. ๐ฅqโ exit. goodbye, you did great. ๐ซถ
โญ EXAMPLES โญ
This command will display the ips / ports of the udp traffic of the processes, monitoring all available interfaces, except the loopback, and log a summary in the file "log.txt":
# netproc -p udp -c -f "log.txt"
Useful to monitor the file generated in the above command:
$ watch -t -d 'cat log.txt'
$ watch -t 'cut -c -$COLUMNS log.txt'
Running whitout root:
$ sudo setcap "cap_net_admin,cap_net_raw+pe" /usr/local/sbin/netproc
$ export PATH=$PATH:/usr/local/sbin
quick note bestie: thatcap_net_admin,cap_net_raw+peline is literally handing the binary some serious power so it can do the network thing without you living insudoforever. use it responsibly, okay? ๐
๐ BUGS ๐
Help improve this software, report bugs at
https://github.com/berghetti/netproc/issues
be nice, be specific, be that girl. ๐โจ
๐ AUTHOR ๐
Mayco Souza Berghetti <mayco.s.berghetti@gmail.com>
๐ COPYRIGHT ๐
Copyright ยฉ 2020-2021 Mayco S. Berghetti. Licensed GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
okay so that's the whole thing ๐ huge shoutout to the netproc(8) manual โ the source/version line says netproc(8), and it's dated 05 December 2021. like, a whole little time capsule. we love her, we respect her, periodt. ๐๐ฆโจ
๐ฆ where this page comes from
- debian bookworm: netproc 0.6.3-1 ยท GPL-3.0-or-later
- debian trixie: netproc 0.6.6-0.1 ยท GPL-3.0-or-later
- nixos 26.05: netproc 0.6.6
- nixpkgs unstable: netproc 0.6.7
- ubuntu jammy: netproc 0.6.3-1 ยท GPL-3.0-or-later
- ubuntu noble: netproc 0.6.3-1 ยท GPL-3.0-or-later
- ubuntu questing: netproc 0.6.6-0.1
- ubuntu resolute: netproc 0.6.6-0.1build1 ยท GPL-3.0-or-later
- ubuntu stonking: netproc 0.6.6-0.1build1 ยท GPL-3.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms