GENL(8) Linux GENL(8)

# [NAME](#NAME)

genl - generic netlink utility frontend

# [SYNOPSIS](#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](#DESCRIPTION)

The **genl** utility provides a simple frontend to the generic netlink library. Although it's designed to support multiple *OBJECT*s, for now only the **ctrl** object is available, which is used to query the generic netlink controller.

## [ctrl](#ctrl)

The generic netlink controller can be queried in various ways:

[**help**](#help)

This command just prints a help text for the **ctrl** object.

[**list**](#list)

Show the registered netlink users.

[**monitor**](#monitor)

Listen for generic netlink notifications.

[**get**](#get)

Query the controller for a given user, identified either by **name** or **id**.

# [OPTIONS](#OPTIONS)

genl supports the following options.

[**-h, -help**](#h,)

Show summary of options.

[**-V, -Version**](#V,)

Show version of program.

[**-s, -stats, -statistics**](#s,)

Show object statistics.

[**-d, -details**](#d,)

Show object details.

[**-j, -json**](#j,)

Output results in JavaScript Object Notation (JSON).

[**-p, -pretty**](#p,)

Add indentation for readability.

[**-r, -raw**](#r,)

Dump raw output only.

# [SEE ALSO](#SEE_ALSO)

[**ip**(8)](/man/os/iproute2/ip.8)

# [AUTHOR](#AUTHOR)

genl was written by Jamal Hadi Salim &lt;hadi@cyberus.ca&gt;.

This manual page was written by Petr Sabata &lt;contyk@redhat.com&gt;.

29 Oct 2015 iproute2

---

Document: genl(8) from iproute2 7.2.0-r1 (Chainguard OS)
Source: https://kernel.googlesource.com/pub/scm/network/iproute2/iproute2
