genl — generic netlink utility frontend

Synopsis

genl [ -s[tatistics] ] [ -d[etails] ] [ -r[aw] ] OBJECT

genl { -V[ersion] | -h[elp] }

OBJECT := { ctrl CTRL_OPTS }

CTRL_OPTS := { help | list | monitor | get PARMS }

PARMS := { name NAME | id ID }

Description

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:

help

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

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 id.

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.

-r, -raw

Dump raw output only.

See Also

ip(8)

Author

genl was written by Jamal Hadi Salim <hadi@cyberus.ca>.

This manual page was written by Petr Sabata <contyk@redhat.com>.

Info

29 Oct 2015 iproute2 Linux