msantos / epcap

Erlang packet capture interface using pcap
http://listincomprehension.com/2009/12/erlang-packet-sniffer-using-ei-and.html
BSD 3-Clause "New" or "Revised" License
178 stars 56 forks source link

Introduce new options cluster_id and cpu_affinity #8

Closed ates closed 11 years ago

ates commented 11 years ago

Hey Michael,

This patch adds the complete pf_ring support to epcap. Also adds the new option cpu_affinity to link epcap process to specific CPU (using taskset).

Hope this will be useful.

Thanks.

msantos commented 11 years ago

Thanks!

ates commented 11 years ago

Michael, looks like I forgot to delete the unnecessary debug message in line 68 of epcap.erl:

io:format("CMD: ~p~n", [Cmd]),

Could you please remove it?