commands
bpftool — Inspect BPF tooling
Reports bpftool version and available build information. Other subcommands can modify BPF state; this example does not enumerate or attach programs. Use a fresh private workspace; No production workload is required.
Formal Syntax & Structure
linux syntaxlinux
bpftool versionParameters & Attributes
| Name | Type | Description |
|---|---|---|
| version | operand | Print tool version |
Return Value
exit status and output
The version subcommand prints version/build information. A successful version query establishes tool availability only, not permission to load or inspect BPF programs.
Working Example
Example Snippetlinux
bpftool version