Skip to content

dropwatch ​

dropwatch 组件名称为 dropwatch, 需要开启的内核选项为

ini
# Networking support
# -> Networking options
# -> Network testing
# -> Network packet drop alerting service
CONFIG_NET_DROP_MONITOR=y

检查工具为

bash
#!/bin/bash

source ./kernel_config_utils.sh

dropwatch_check() {
    if ! kernel_config_check CONFIG_NET_DROP_MONITOR drop_monitor; then
        return 1
    fi
}