适用于(没有 cron 和 init 的)debian 8.0 安装 nethogs 创建/root/monitor.shTIMEOUT=3600TIMESTAMP=`date +%b_%d_%Y_%H_%M_%S`OUTPUT=/var/log/nethogs/$TIMESTAMP.logbash -ic "(/usr/local/sbin/nethogs -t -d 30&>$OUTPUT;kill 0;) | (sleep $TIMEOUT;kill 0; )" 3>&1 2>/dev/null/etc/systemd/system/nethogs.timer[Unit]Descript……