{
    "mode": "man",
    "parameter": "RDMA",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/RDMA/8/json",
    "generated": "2026-07-05T11:50:38Z",
    "synopsis": "rdma [ OPTIONS ] OBJECT { COMMAND | help }\nrdma [ -force ] -batch filename\nOBJECT := { dev | link | resource | system | statistic }\nOPTIONS := { -V[ersion] | -d[etails] } -j[son] } -p[retty] }",
    "sections": {
        "NAME": {
            "content": "rdma - RDMA tool\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "rdma [ OPTIONS ] OBJECT { COMMAND | help }\n\n\nrdma [ -force ] -batch filename\n\n\nOBJECT := { dev | link | resource | system | statistic }\n\n\nOPTIONS := { -V[ersion] | -d[etails] } -j[son] } -p[retty] }\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-V -Version",
                    "content": "Print the version of the rdma tool and exit.\n\n",
                    "flag": "-V"
                },
                {
                    "name": "-b -batch",
                    "content": "Read commands from provided file or standard input and invoke them.  First failure\nwill cause termination of rdma.\n\n",
                    "flag": "-b"
                },
                {
                    "name": "-force",
                    "content": "tion of the commands, the application return code will be non zero.\n\n"
                },
                {
                    "name": "-d --details",
                    "content": "Output detailed information.  Adding a second -d includes driver-specific details.\n\n",
                    "flag": "-d",
                    "long": "--details"
                },
                {
                    "name": "-r --raw",
                    "content": "Output includes driver-specific details in raw format.\n\n",
                    "flag": "-r",
                    "long": "--raw"
                },
                {
                    "name": "-p --pretty",
                    "content": "When combined with -j generate a pretty JSON output.\n\n",
                    "flag": "-p",
                    "long": "--pretty"
                },
                {
                    "name": "-j --json",
                    "content": "Generate JSON output.\n\n\nOBJECT\ndev    - RDMA device.\n\n\nlink   - RDMA port related.\n\n",
                    "flag": "-j",
                    "long": "--json"
                },
                {
                    "name": "resource",
                    "content": "- RDMA resource configuration.\n\n\nsys    - RDMA subsystem related.\n\n"
                },
                {
                    "name": "statistic",
                    "content": "- RDMA counter statistic related.\n\n\nThe names of all objects may be written in full or abbreviated form, for example stats can be\nabbreviated as stat or just s.\n\n\nCOMMAND\nSpecifies the action to perform on the object.  The set of possible actions depends on the\nobject type.  As a rule, it is possible to show (or list ) objects, but some objects do not\nallow all of these operations or have some additional commands. The help command is available\nfor all objects. It prints out a list of available commands and argument syntax conventions.\n\nIf no command is given, some default command is assumed.  Usually it is list or, if the ob‐\njects of this class cannot be listed, help.\n\n"
                }
            ]
        },
        "EXIT STATUS": {
            "content": "Exit status is 0 if command was successful or a positive integer upon failure.\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "rdma-dev(8), rdma-link(8), rdma-resource(8), rdma-system(8), rdma-statistic(8),\n\n",
            "subsections": []
        },
        "REPORTING BUGS": {
            "content": "Report any bugs to the Linux RDMA mailing list <linux-rdma@vger.kernel.org> where the devel‐\nopment and maintenance is primarily done.  You do not have to be subscribed to the list to\nsend a message there.\n\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Leon Romanovsky <leonro@mellanox.com>\n\n\n\niproute2                                     28 Mar 2017                                     RDMA(8)",
            "subsections": []
        }
    },
    "summary": "rdma - RDMA tool",
    "flags": [
        {
            "flag": "-V",
            "long": null,
            "arg": null,
            "description": "Print the version of the rdma tool and exit."
        },
        {
            "flag": "-b",
            "long": null,
            "arg": null,
            "description": "Read commands from provided file or standard input and invoke them. First failure will cause termination of rdma."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "tion of the commands, the application return code will be non zero."
        },
        {
            "flag": "-d",
            "long": "--details",
            "arg": null,
            "description": "Output detailed information. Adding a second -d includes driver-specific details."
        },
        {
            "flag": "-r",
            "long": "--raw",
            "arg": null,
            "description": "Output includes driver-specific details in raw format."
        },
        {
            "flag": "-p",
            "long": "--pretty",
            "arg": null,
            "description": "When combined with -j generate a pretty JSON output."
        },
        {
            "flag": "-j",
            "long": "--json",
            "arg": null,
            "description": "Generate JSON output. OBJECT dev - RDMA device. link - RDMA port related."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "rdma-dev",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/rdma-dev/8/json"
        },
        {
            "name": "rdma-link",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/rdma-link/8/json"
        },
        {
            "name": "rdma-resource",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/rdma-resource/8/json"
        },
        {
            "name": "rdma-system",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/rdma-system/8/json"
        },
        {
            "name": "rdma-statistic",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/rdma-statistic/8/json"
        }
    ]
}