dropwatch(1)
π dropwatch β the girlies' guide to catching your kernel dropping packets π
okay so bestie. this is dropwatch, a page from the General Commands Manual, and honestly it's giving "quiet little utility that will absolutely save your networking career". it's an interactive tool for watching and recording the packets your kernel is just... dropping. rudely. on the floor. no cap. π
β¨ NAME β¨
dropwatch β kernel dropped packet monitoring utility π«Ά
πΈ SYNOPSIS πΈ
dropwatch [-l method | list]
that's it. that's the whole vibe. one flag. iconic.
π¦ DESCRIPTION π¦
dropwatch is an interactive utility for monitoring and recording packets that are dropped by the kernel. she sits there, you talk to her, she tells you what the kernel threw away. lowkey the most emotionally intelligent kernel tool out there π
π OPTIONS π
-lmethod,--lmethodmethod |listβ picks the translation method used whenever a drop alert shows up. by default you just get the raw instruction pointer of a drop location dumped at you (meh, mysterious). but with-lyou can assign a translation method so that instruction pointer gets turned into actual function names. glow-up fr. currently supported lookup methods are:listβ shows all the supported methods. your little menu of options πkasβ uses/proc/kallsymsto look up instruction pointers β function mappings.
π INTERACTIVE COMMANDS π
these are the things you type once you're in the program. it's a conversation bestie, use your words π¬
startβ tells the kernel to start reporting dropped packets. go time βstopβ tells the kernel to discontinue reporting dropped packets. nap time π΄exitβ exits the dropmonitor program. bye babes π¦helpβ displays a summary of all commands. the built-in group chat search πset alertlimitvalue β sets a triggerpoint to stop monitoring for dropped packets after value alerts have been received. like a lil "okay that's enough, i've seen enough" limit πset alertmode{ summary | packet }β picks how the alerts come at you:summaryβ default mode. a summary of recent packet drops is sent to user space. the alert includes drop locations and number of drops in each location. tl;dr: the highlights reel β¨packetβ every single dropped packet is sent to user space. the alert includes the packet itself and various metadata such as drop location and timestamp. the full unhinged director's cut, every detail, no skips π₯
set trunclen β sets the truncation length. reported packets will be truncated to length len. this setting is only applicable whenalertmodeis set topacket. by default packets are not truncated. a value of0disables truncation. so like,0= full packet, no scissors βοΈset queuelen β sets the queue length in the kernel. whenalertmodeis set topacket, the kernel queues dropped packets in a per-CPU drop list before preparing a netlink message for each. this setting controls that queue's length. by default this is limited by the kernel to 1,000 packets.
β οΈ increasing this value will increase the memory utilization of the system. it's giving "bigger queue, bigger appetite". be mindful bestie π
set sw{ true | false }β enables or disables the monitoring of software originated drops. by default software originated drops are monitored. β on by default, main character behaviourset hw{ true | false }β enables or disables the monitoring of hardware originated drops. by default hardware originated drops are not monitored. off by default, she's shy πshowβ query existing configuration from the kernel and show it. vibe check the current setup πstatsβ query statistics from the kernel and show it.- Tail dropped β number of packets that could not be enqueued to the per-CPU drop list(s). aka the ones that didn't even make it into the queue π
and that's the whole page bestie!! now go catch those drops before they catch you πβ¨
this page was written by Neil Horman, dated Mar 2009 β a legend who was out here documenting kernel packet drops before it was cool. mwah. π«Άπ
π¦ where this page comes from
- debian bookworm: dropwatch 1.5.4-2 Β· GPL-2.0-or-later
- debian trixie: dropwatch 1.5.4-4 Β· GPL-2.0-or-later
- epel 9: dropwatch 1.5.4-1.el9 Β· GPLv2+
- fedora 43: dropwatch 1.5.5-2.fc43 Β· GPL-2.0-or-later
- fedora 44: dropwatch 1.5.5-3.fc44 Β· GPL-2.0-or-later
- nixos 26.05: dropwatch 1.5.5
- nixpkgs unstable: dropwatch 1.5.5
- ubuntu noble: dropwatch 1.5.4-3build2 Β· GPL-2.0-or-later
- ubuntu questing: dropwatch 1.5.4-4
- ubuntu resolute: dropwatch 1.5.4-4build1 Β· GPL-2.0-or-later
- ubuntu stonking: dropwatch 1.5.5-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms