This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

tcpdump pcap_loop eroor

0

Hi When i use tcpdump along with Gulp I get an error

tcpdump: pcap_loop: error reading dump file: Interrupted system call

The code I used is

 ./gulp  -i eth1 -r 1024  -p 10 | taskset -c 2 tcpdump -r- -C 2 -W 5 -Z root -w /share/capture/job.pcap

Could you please help me with this??

asked 05 Aug '15, 01:52

jichu's gravatar image

jichu
11447
accept rate: 0%


One Answer:

0

I don't think that taskset will pass STDIN to tcpdump. Please try your command without taskset.

./gulp -i eth1 -r 1024 -p 10 | tcpdump -r- -C 2 -W 5 -Z root -w /share/capture/job.pcap

Regards
Kurt

answered 11 Aug '15, 16:36

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%