⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ntop.sh

📁 ntop 3.2的源代码
💻 SH
字号:
#!/bin/sh#----------------------------------------------------------------------# The following variables may be changed#   Most stuff should be changed in ntop.conf## Network interface(s) to be monitored;# may be blank, or comma-separated listinterfaces=''# Specify any additional arguments here - see ntop(8)additional_args=''## End of user-configurable variables#----------------------------------------------------------------------args='-d -L'[ ! -z $interfaces ] && args="$args -i $interfaces"[ ! -z "$additional_args" ] && args="$args $additional_args"case "$1" instart)  [ -x %%PREFIX%%/bin/ntop ] && %%PREFIX%%/bin/ntop @%%PREFIX%%/etc/ntop/ntop.conf $args >/dev/null 2>&1 \    && echo -n ' ntop'  ;;stop)  killall ntop >/dev/null 2>&1 && echo -n ' ntop'  ;;*)  echo "Usage: `basename $0` {start|stop}" >&2  exit 64  ;;esacexit 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -