NETWATCH(1)
π NETWATCH β the manual page, but make it a group chat π
okay bestie, welcome to NETWATCH β yes that's the manual name, that's the page, we're here, we're doing this. It's an Ethernet Internet Protocol Monitor and it's lowkey iconic. Sit down, grab a boba, let's get into it. π§β¨
πΈ SYNOPSIS πΈ
netwatch [ -h ] [-b] [-i dd.dd.dd.dd] [-m dd.dd.dd.dd] [-n] [ - t] [ -e
ethnum ] [ -c netconfigfile ]
that's the whole vibe right there, no notes π
π DESCRIPTION π
So. Netwatch examines all the packets travelling on an ethernet and analyses the IP packets. Every single one. It's watching. It's always watching. π
The information is tallied according to the source and destination hosts. Then an ncurses display shows you a dual-list status for all hosts, and it goes like this:
- the left display = LOCAL hosts π
- the right list = REMOTE hosts π
And it is possible to examine statistics (counts) on:
- number of packets
- bytes
- IP service type
- last communication host
...for each host. Fr fr, per host. Use the arrow keys (left and right) to change the display. That's the whole interaction model, slay.
β¨ OPTIONS β¨
-e ethnumβethnumis the name of the ethernet device to attempt to run with netwatch. (e.g.-e eth1selects theeth1device rather than the defaulteth0device. β yes the parenthesis in the original is unbalanced and we are NOT fixing it, we are respecting the lore π)-c confignetfileβ selects the name of the file which contains theifconfiginformation. Note that this is not necessary since netwatch will use the route information from/proc/netto build all the information needed (without using ANY configuration file). So like... optional bestie, truly optional. π«Ά-bβ For a transparent bridge, ignore every other packet... (older kernels) π΅-i dd.dd.dd.ddβ Fake a local internet address for "this" machine... (useful in making fake local net for monitoring when combined with the-moption ) π-m dd.dd.dd.ddβ Fake the netmask which is used for the local net evaluation π-nβ Do not resolve names (just display addresses) π’-hβ Simple help information π-tβ Start Netwatch in TOP Mode (30 sec. startup delay) β³
π USER COMMANDS π
The following description will attempt to clarify what keys netwatch understands. It is important to know that the program is mode dependent. This means commands may change depending on the current mode. The primary mode is dual-list mode. In this mode use:
<tab>key β switch scroll display to the other list (dual-lists). Look for KEY. π<left>key β Change display options (moving left through the options) β¬ οΈ<right>key β Change display options (moving right through the options) β‘οΈ<up>key β Scroll to previous host page on the current list (see KEY) Change display options (moving right through the options) β¬οΈ (yes, that's what it says, we're keeping it, no we don't know either)<down>key β Scroll to next host page on the current list (see KEY) β¬οΈhkey β gives help screen πtkey β Toggle TOP mode (where 30 sec update on busiest hosts) π₯ckey β Clear counts for all hosts π§Ήnkey β Clean the remote & local host tables π§ΌNkey β Clean the remote OR local host tables (depends on which is current) π§ΌLkey β Produce LOG of current display entries (REMOTE or LOCAL) πbkey β Toggle display of BLUE entries (OLD) πdkey β Toggle display of DOMAIN entries (Name Server Queries) πwkey β Enter WATCH mode for viewing ROUTING stats and HOST packets ποΈ<F10>,<END>orqkey β Exits the program π
note: uppercase and lowercase are NOT the same key, bestie.nandNare different little guys doing different little jobs. iykyk π
π¦ AUTHOR π¦
Gordon MacKay mackay@gmml.slctech.org
the founder, the moment, the legend π
β COPYRIGHT β
Copyright (c) Gordon MacKay 1997, under GPL. periodt. π
π BUGS π
Yes, but hopefully the program is better than it was...
genuinely the most honest BUGS section in the history of Unix and I am obsessed with it π
okay and that's the whole page bestie!! the manual is literally just called NETWATCH (that's the title up top, that's the footer down bottom, it's giving symmetry β¨), and the version/date situation is just... the plain NETWATCH() footer with no version and no date stamped on it, so there's nothing else to tell you there. it's 1997 core, it's GPL, it's Gordon's, and it's been out here monitoring ethernet since before you were born. go forth and watch some packets. ππ¦π
π¦ where this page comes from
- debian bookworm: netdiag 1.2-1.2
- ubuntu jammy: netdiag 1.2-1.1
- ubuntu noble: netdiag 1.2-1.2ubuntu1
- ubuntu questing: netdiag 1.2-1.3
- ubuntu resolute: netdiag 1.2-1.4
- ubuntu stonking: netdiag 1.2-1.5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms