1BPFTOOL(8) BPFTOOL(8)
2
3
4
6 BPFTOOL - tool for inspection and simple manipulation of eBPF programs
7 and maps
8
10 bpftool [OPTIONS] OBJECT { COMMAND | help }
11
12 bpftool batch file FILE
13
14 bpftool version
15
16 OBJECT := { map | program | cgroup }
17
18 OPTIONS := { { -V | --version } | { -h | --help } | { -j | --json }
19 [{ -p | --pretty }] }
20
21 MAP-COMMANDS := { show | list | dump | update | lookup | getnext |
22 delete | pin | help }
23
24 PROG-COMMANDS := { show | list | dump jited | dump xlated | pin |
25 load | help }
26
27 CGROUP-COMMANDS := { show | list | attach | detach | help }
28
30 bpftool allows for inspection and simple modification of BPF objects
31 on the system.
32
33 Note that format of the output of all tools is not guaranteed to be
34 stable and should not be depended upon.
35
37 -h, --help
38 Print short help message (similar to bpftool help).
39
40 -v, --version
41 Print version number (similar to bpftool version).
42
43 -j, --json
44 Generate JSON output. For commands that cannot produce JSON,
45 this option has no effect.
46
47 -p, --pretty
48 Generate human-readable JSON output. Implies -j.
49
51 bpftool-map(8), bpftool-prog(8), bpftool-cgroup(8)
52
53
54
55
56 BPFTOOL(8)