$manlookup

devlink

(8)

Devlink tool

devlink [ OPTIONS ] { dev|port|monitor|sb|resource|region|health|trap } { COMMAND | help } devlink [ -force ] -batch filename

Options

11
-V--Version

Print the version of the devlink utility and exit.

-b-batch

Read commands from provided file or standard input and invoke them. First failure will cause termination of devlink.

-force

Don't terminate devlink on errors in batch mode. If there were any errors during execution of the commands, the application return code will be non zero.

-n--no-nice-names

Turn off printing out nice names, for example netdevice ifnames instead of devlink port identification.

-j--json

Generate JSON output.

-p--pretty

When combined with -j generate a pretty JSON output.

-v--verbose

Turn on verbose output.

-s--statistics

Output statistics.

-N-Netns

Switches to the specified network namespace.

-i--iec

Print human readable rates in IEC units (e.g. 1Ki = 1024).

-x--hex

Print dump numbers in hexadecimal format.

EXIT STATUS

Exit status is 0 if command was successful or a positive integer upon failure.

REPORTING BUGS

Report any bugs to the Network Developers mailing list netdev@vger.kernel.org where the development and maintenance is primarily done. You do not have to be subscribed to the list to send a message there.

AUTHOR

Jiri Pirko jiri@mellanox.com

See also