1RDMA(8) Linux RDMA(8)
2
3
4
6 rdma - RDMA tool
7
9 rdma [ OPTIONS ] OBJECT { COMMAND | help }
10
11
12 rdma [ -force ] -batch filename
13
14
15 OBJECT := { dev | link | resource | system | statistic }
16
17
18 OPTIONS := { -V[ersion] | -d[etails] } -j[son] } -p[retty] }
19
20
22 -V, -Version
23 Print the version of the rdma tool and exit.
24
25
26 -b, -batch <FILENAME>
27 Read commands from provided file or standard input and invoke
28 them. First failure will cause termination of rdma.
29
30
31 -force Don't terminate rdma on errors in batch mode. If there were any
32 errors during execution of the commands, the application return
33 code will be non zero.
34
35
36 -d, --details
37 Output detailed information. Adding a second -d includes
38 driver-specific details.
39
40
41 -r, --raw
42 Output includes driver-specific details in raw format.
43
44
45 -p, --pretty
46 When combined with -j generate a pretty JSON output.
47
48
49 -j, --json
50 Generate JSON output.
51
52
53 OBJECT
54 dev - RDMA device.
55
56
57 link - RDMA port related.
58
59
60 resource
61 - RDMA resource configuration.
62
63
64 sys - RDMA subsystem related.
65
66
67 statistic
68 - RDMA counter statistic related.
69
70
71 The names of all objects may be written in full or abbreviated form,
72 for example stats can be abbreviated as stat or just s.
73
74
75 COMMAND
76 Specifies the action to perform on the object. The set of possible
77 actions depends on the object type. As a rule, it is possible to show
78 (or list ) objects, but some objects do not allow all of these opera‐
79 tions or have some additional commands. The help command is available
80 for all objects. It prints out a list of available commands and argu‐
81 ment syntax conventions.
82
83 If no command is given, some default command is assumed. Usually it is
84 list or, if the objects of this class cannot be listed, help.
85
86
88 Exit status is 0 if command was successful or a positive integer upon
89 failure.
90
91
93 rdma-dev(8), rdma-link(8), rdma-resource(8), rdma-system(8), rdma-
94 statistic(8),
95
96
98 Report any bugs to the Linux RDMA mailing list <linux-rdma@vger.ker‐
99 nel.org> where the development and maintenance is primarily done. You
100 do not have to be subscribed to the list to send a message there.
101
102
104 Leon Romanovsky <leonro@mellanox.com>
105
106
107
108iproute2 28 Mar 2017 RDMA(8)