dumpcap Command Examples

A network traffic dump tool. More information: https://www.wireshark.org/docs/man-pages/dumpcap.html.

dumpcap {{[-D|--list-interfaces]}}

dumpcap {{[-i|--interface]}} {{1}}

dumpcap {{[-i|--interface]}} {{1}} -w {{path/to/output_file.pcapng}}

dumpcap {{[-i|--interface]}} {{1}} -w {{path/to/output_file.pcapng}} {{[-b|--ring-buffer]}} filesize:{{500000}} {{[-b|--ring-buffer]}} files:{{10}}