Hello,
I need to help with one script. I need make script on F5 for tcpdump with cron. Purpose of this srcript is that every day 20 minutes from 5:50 to 6:10 i need turn on tcpdump on client and server side as well. I try something prepare but I not have any experience with scripting. Could you pls check my script if it’s good or make provide me some new script?
Script start-tcpdump
!/bin/bash
nohup tcpdump -i -s 0 -w //tmp/var/soubor.pcap
Script stop-tcpdump
!/bin/bash
killall -15 tcpdump
50 5 * * * /root/bin/start-tcpdump 10 6 * * * /root/bin/stop-tcpdump
PS:Do you think, that this script is not more for loadbalancer?
thanks