RDMA(8) Linux RDMA(8)

# [NAME](#NAME)

rdma - RDMA tool

# [SYNOPSIS](#SYNOPSIS)

**rdma** \[ *OPTIONS* ] *OBJECT* { *COMMAND* | **help** }

**rdma** \[ **-force** ] **-batch filename**

*OBJECT* := { **dev** | **link** | **resource** | **system** | **statistic** | **monitor** }

*OPTIONS* := { **-V**\[*ersion*] | **-d**\[*etails*] | **-j**\[*son*] | **-o**\[*neline*] | **-p**\[*retty*] }

# [OPTIONS](#OPTIONS)

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

Print the version of the **rdma** tool and exit.

[**-b**, **-batch** &lt;FILENAME&gt;](#b)

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

[**-force**](#force)

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

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

Output detailed information. Adding a second -d includes driver-specific details.

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

Output includes driver-specific details in raw format.

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

When combined with -j generate pretty JSON output.

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

Generate JSON output.

[**-o**, **-oneline**](#o)

Output each record on a single line, replacing line feeds with the **'\\'** character.

## [*OBJECT*](#OBJECT)

[**dev**](#dev)

\- RDMA device.

[**link**](#link)

\- RDMA port related.

[**resource**](#resource)

\- RDMA resource configuration.

[**sys**](#sys)

\- RDMA subsystem related.

[**statistic**](#statistic)

\- RDMA counter statistic related.

[**monitor**](#monitor)

\- RDMA events monitor.

The names of all objects may be written in full or abbreviated form, for example **stats** can be abbreviated as **stat** or just **s.**

## [*COMMAND*](#COMMAND)

Specifies the action to perform on the object. The set of possible actions depends on the object type. As a rule, it is possible to **show** (or **list** ) objects, but some objects do not allow all of these operations or have some additional commands. The **help** command is available for all objects. It prints out a list of available commands and argument syntax conventions.

If no command is given, some default command is assumed. Usually it is **list** or, if the objects of this class cannot be listed, **help**.

# [EXIT STATUS](#EXIT_STATUS)

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

# [SEE ALSO](#SEE_ALSO)

[**rdma-dev**(8)](/man/os/iproute2/rdma-dev.8), [**rdma-link**(8)](/man/os/iproute2/rdma-link.8), [**rdma-resource**(8)](/man/os/iproute2/rdma-resource.8), [**rdma-system**(8)](/man/os/iproute2/rdma-system.8), [**rdma-statistic**(8)](/man/os/iproute2/rdma-statistic.8), [**rdma-monitor**(8)](/man/os/iproute2/rdma-monitor.8),

# [REPORTING BUGS](#REPORTING_BUGS)

Report any bugs to the Linux RDMA mailing list **&lt;linux-rdma@vger.kernel.org&gt;** where the development and maintenance is primarily done. You do not have to be subscribed to the list to send a message there.

# [AUTHOR](#AUTHOR)

Leon Romanovsky &lt;leonro@mellanox.com&gt;

28 Mar 2017 iproute2

---

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