GENL(8)
๐ GENL(8) ๐
okay bestie, welcome to the genl(8) page from the Linux manual, no cap ๐ this is the group chat where the generic netlink utility finally gets to speak for itself.
โจ NAME โจ
genl โ generic netlink utility frontend ๐ฆ
โจ SYNOPSIS โจ
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 }
โจ DESCRIPTION โจ
so basically genl is your little lowkey frontend to the generic netlink library ๐ซถ it's built to handle multiple OBJECTs (iconic, ambitious, we love that for it), but for now the only OBJECT that actually showed up to the party is ctrl, and ctrl is the one that talks to the generic netlink controller. periodt.
๐ธ ctrl ๐ธ
the generic netlink controller can be queried in a bunch of different ways, and each one is giving its own vibe:
helpโ this command literally just prints a help text for thectrlobject. that's it. that's the whole job ๐listโ show the registered netlink users ๐monitorโ listen for generic netlink notifications ๐โจgetโ query the controller for a given user, identified either by name or by id ๐
โจ OPTIONS โจ
genl supports the following options, and bestie, we're going through every single one:
-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 ๐ (your eyes will thank you)-r,-rawโ dump raw output only ๐
โจ SEE ALSO โจ
โจ AUTHOR โจ
genl was written by Jamal Hadi Salim <hadi@cyberus.ca> ๐
This manual page was written by Petr Sabata <contyk@redhat.com> ๐
and that's the whole page, bestie!! this one came from the iproute2 era, dated 29 Oct 2015, so it's vintage but it still ate ๐ซถโจ slay, go forth and query that controller ๐ง๐
๐ฆ where this page comes from
- alpine 3.24: iproute2-doc 7.0.0-r0 ยท GPL-2.0-or-later
- arch rolling: iproute2 7.2.0-1
- arch rolling: iproute2 7.3.0-1 ยท GPL-2.0-or-later
- centos-stream 10: iproute 7.0.0-2.el10 ยท GPL-2.0-or-later AND NIST-PD
- nixos 26.05: iproute2 7.0.0
- nixpkgs unstable: iproute2 7.2.0
- ubuntu resolute: iproute2 6.19.0-1ubuntu1 ยท GPL-2.0-only
- ubuntu resolute: iproute2 6.19.0-1ubuntu1.1 ยท GPL-2.0-only
- ubuntu stonking: iproute2 7.2.0-1ubuntu1 ยท GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms