1. Dropwatch

  • Installation

    git clone https://github.com/nhorman/dropwatch.git
      
    sudo apt-get install libreadline-dev 
    sudo apt-get install libnl-genl-3-dev
    sudo apt-get install libbfd-dev
      
    cd dropwatch
    sudo ./autogen.sh
    sudo ./configure
    make
    sudo make install
    
  • Usage

    dropwatch -l kas
    Initalizing kallsyms db
    dropwatch> start
    Enabling monitoring...
    Kernel monitoring activated.
    Issue Crtl-C to stop monitoring
    

REF

  1. dropwatch
  2. Using netstat and dropwatch to observe packet loss on linux servers
  3. Dropwatch to where the packets are dropped in linux stack
  4. linux 系统 UDP 丢包问题分析思路