genl8
Generic netlink utility frontend
Usage
genl [OPTIONS]
OBJECT
genl
{-V
[ersion] | -h
[elp]}
OPTIONS :=
{-s
[tatistics] | -d
[etails] | -j
[son] | -p
[retty]}
OBJECT :=
ctrl
CTRL_OPTS
CTRL_OPTS :=
{help | list | monitor | get
PARMS}
PARMS :=
{name
NAME | id
ID}
Overview
The genl utility provides a simple frontend to the generic netlink library. Although it's designed to support multiple OBJECTs, for now only the ctrl object is available, which is used to query the generic netlink controller.
ctrl
The generic netlink controller can be queried in various ways:
|
This command just prints a help text for the |
|---|---|
|
Show the registered netlink users. |
|
Listen for generic netlink notifications. |
|
Query the controller for a given user, identified either by |
Options
genl supports the following options.
-
-h, -help -
Show summary of options.
-
-V, -Version -
Show version of program.
-
-s, -stats, -statistics -
Show object statistics.
-
-d, -details -
Show object details.
-
-j, -json -
Output results in JavaScript Object Notation (JSON).
-
-p, -pretty -
Add indentation for readability.
-
-r, -raw -
Dump raw output only.
Releases
6 releases since Debian 9 (Stretch); the text changed 1 time.
-j since Arch Linux 2026-11-01;
-json since Arch Linux 2026-11-01;
-p since Arch Linux 2026-11-01;
-pretty since Arch Linux 2026-11-01.