If you just want to capture 10 packets, why not just tell tcpdump to stop after 10 packets:
Otherwise have a look at Net::Packet::Dump.tcpdump -i bge1 -c 10 > /tmp/file.out
In reply to Re: kill process when files created...
by pc88mxer
in thread kill process when files created...
by onlineperluser
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |