RDMA(8)
๐ RDMA(8) ๐
okay bestie, so this is the manual page for the rdma tool โ the Linux RDMA tool, section 8 of the man pages. yes it's a whole vibe. let's get into it ๐ฆ
โจ NAME โจ
rdma โ the RDMA tool. that's it, that's the name, and it's iconic for it ๐
๐ธ SYNOPSIS ๐ธ
the way you actually call this thing:
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] }
like, you pick an OBJECT, you give it a COMMAND or just ask for help, and if you're being fancy with batch mode there's a whole separate shape for that. no cap โจ
๐ OPTIONS ๐
-V,-Versionโ prints out which version of therdmatool you're running, then dips out immediately. short and sweet, we love a queen who knows when to leave ๐ซถ-b,-batch <FILENAME>โ reads commands from the file you point at, or from standard input, and runs them all. heads up bestie: the first failure will terminaterdma. one strike and she's out ๐ญ-forceโ the "we don't stop, we keep going" flag. it stopsrdmafrom terminating on errors while in batch mode. but lowkey there's a catch: if any errors happened during the commands, the application return code will be non-zero. so like, she finished the job but she's telling on you ๐-d,--detailsโ outputs detailed information. and here's the tea: adding a second-dincludes driver-specific details. yes,-d -d. double the d, double the drama ๐-r,--rawโ output includes driver-specific details, but in raw format. no glow-up, no styling, just the unfiltered truth ๐-p,--prettyโ when you combine this with-j, you get pretty JSON output. it's giving main character formatting energy โจ-j,--jsonโ generate JSON output. for when you want your data in the universally beloved curly-brace language ๐-o,-onelineโ outputs each record on a single line, replacing line feeds with the'\'character. compact queen behavior ๐
OBJECT โ pick your fighter ๐
devโ RDMA device.linkโ RDMA port related.resourceโ RDMA resource configuration.sysโ RDMA subsystem related.statisticโ RDMA counter statistic related.monitorโ RDMA events monitor.
and the cute part: the names of all objects may be written in full or abbreviated form. for example stats can be abbreviated as stat or just s. bestie said "I don't have time for vowels" and honestly? valid ๐
COMMAND โ what are we doing today ๐ซ
this is the action you want to perform on the object. the set of possible actions depends on the object type. as a rule, it's possible to show (or list) objects, but some objects do not allow all of these operations, or they have some additional commands. every single object has the help command available โ it prints out a list of available commands and argument syntax conventions. so if you're lost, just ask for help, she'll never judge you ๐ซถ
if no command is given, some default command is assumed. usually it's list or, if the objects of this class cannot be listed, help. the tool is literally holding your hand, we stan a supportive icon ๐ญ
๐ EXIT STATUS ๐
exit status is 0 if the command was successful, or a positive integer upon failure. slay when it works, number when it doesn't. that's the whole system ๐ฏ
๐ SEE ALSO ๐
go read these too, they're all connected, it's a whole cinematic universe:
๐ REPORTING BUGS ๐
found a bug? report it to the Linux RDMA mailing list: linux-rdma@vger.kernel.org โ that's where the development and maintenance is primarily done. and the best part: you do not have to be subscribed to the list to send a message there. no gatekeeping, we love to see it ๐ซถโจ
๐ AUTHOR ๐
Leon Romanovsky <leonro@mellanox.com> โ thank you for your service king ๐
and that's the whole page bestie!! this one ships as part of iproute2, dated 28 Mar 2017. it's giving vintage but the RDMA tool is still out here thriving. go forth and rdma responsibly ๐
โจ๐ฆ
๐ฆ where this page comes from
- alpine 3.24: iproute2-doc 7.0.0-r0 ยท GPL-2.0-or-later
- arch rolling: iproute2 7.2.0-1
- arch rolling: iproute2 7.3.0-1 ยท GPL-2.0-or-later
- centos-stream 10: iproute 7.0.0-2.el10 ยท GPL-2.0-or-later AND NIST-PD
- nixos 26.05: iproute2 7.0.0
- nixpkgs unstable: iproute2 7.2.0
- ubuntu stonking: iproute2 7.2.0-1ubuntu1 ยท GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms