bpftool Command Examples

Inspect and manipulate eBPF programs and maps in a simple way. Some subcommands such as prog have their own usage documentation. More information: https://manned.org/bpftool.

bpftool prog list

bpftool net list

bpftool link list

bpftool perf list

bpftool btf list

bpftool map list

bpftool feature probe dev {{eth0}}

bpftool batch file {{myfile}}