tcpdump設定執行時間


tcpdump & sleep 1m ; killall tcpdump

/path/to/tcpdumpbinary --whatever-args-you-need & sleep 10s && pkill -HUP -f /path/to /tcpdumpbinary

reference
http://phorum.vbird.org/viewtopic.php?f=2&t=32773

http://www.linuxquestions.org/questions/linux-wireless-networking-41/how-to-limit-the-tcpdump-command-to-a-time-interval-945468/

留言

這個網誌中的熱門文章

Java Servlet MVC web app

JavaMail透過Gmail寄信發生AuthenticationFailedException錯誤