logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dropwatch - kernel dropped packet monitoring utility

Description

dropwatch is an interactive utility for monitoring and recording packets that are dropped by the kernel.

Interactive Commands

start  Tells the kernel to start reporting dropped packets.

       stop   Tells the kernel to discontinue reporting dropped packets.

       exit   Exits the dropmonitor program.

       help   Displays summary of all commands.

       setalertlimitvalue
              Sets a triggerpoint to stop monitoring for dropped packets after value alerts have been received.

       setalertmode { summary | packet }
              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.

              packet - Each dropped packet is sent to user space. The  alert  includes  the  packet  itself  and
              various metadata such as drop location and timestamp.

       settrunclen
              Sets the truncation length. Reported packets will be truncated to length len. This setting is only
              applicable  when  alertmode  is  set to packet. By default packets are not truncated. A value of 0
              disables truncation.

       setqueuelen
              Sets the queue length in the kernel. When alertmode is set to packet, the  kernel  queues  dropped
              packets  in a per-CPU drop list before preparing a netlink message for each. This setting controls
              the 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.

       setsw { true | false }
              Enables  or  disables  the monitoring of software originated drops. By default software originated
              drops are monitored.

       sethw { true | false }
              Enables or disables the monitoring of hardware originated drops. By  default  hardware  originated
              drops are not monitored.

       show   Query existing configuration from the kernel and show it.

       stats  Query statistics from the kernel and show it.

              Taildropped - Number of packets that could not be enqueued to the per-CPU drop list(s).

Neil Horman                                         Mar 2009                                        dropwatch(1)

Name

       dropwatch - kernel dropped packet monitoring utility

Options

-lmethod | list, --lmethodmethod | list
              Select  the  translation  method to use when a drop alert arrives.  By default the raw instruction
              pointer of a drop location is output, but by the use of the -l option, we can assign a translation
              method so that the instruction pointer can be translated into function names.  Currently supported
              lookup methods are:

              list   Show all supported methods.

              kas    Use /proc/kallsyms to lookup instruction pointers to function mappings.

Synopsis

dropwatch [-lmethod | list]

See Also