{
    "mode": "man",
    "parameter": "rpcdebug",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/rpcdebug/8/json",
    "generated": "2026-06-14T00:16:44Z",
    "synopsis": "",
    "sections": {
        "NAME": {
            "content": "rpcdebug - set and clear NFS and RPC kernel debug flags\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "",
            "subsections": [
                {
                    "name": "rpcdebug -vh",
                    "content": "rpcdebug -m module\nrpcdebug -m module -s flags...\nrpcdebug -m module -c flags...\n"
                }
            ]
        },
        "DESCRIPTION": {
            "content": "The  rpcdebug  command allows an administrator to set and clear the Linux kernel's NFS client\nand server debug flags.  Setting these flags causes the kernel to emit messages to the system\nlog in response to NFS activity; this is typically useful when debugging NFS problems.\n\nThe  first  form  in  the synopsis can be used to list all available debug flags.  The second\nform shows the currently set debug flags for the given module.  The third form  sets  one  or\nmore flags, and the fourth form clears one or more flags.\n\nThe value all may be used to set or clear all the flags for the given module.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-c",
                    "content": "",
                    "flag": "-c"
                },
                {
                    "name": "-h -v",
                    "content": "available debug flags.\n",
                    "flag": "-v"
                },
                {
                    "name": "-m",
                    "content": "Specify which module's flags to set or clear.  Available modules are:\n\nnfsd   The NFS server.\n\nnfs    The NFS client.\n\nnlm    The Network Lock Manager, in either an NFS client or server.\n\nrpc    The Remote Procedure Call module, in either an NFS client or server.\n",
                    "flag": "-m"
                },
                {
                    "name": "-s",
                    "content": "",
                    "flag": "-s"
                },
                {
                    "name": "-v",
                    "content": "",
                    "flag": "-v"
                }
            ]
        },
        "FILES": {
            "content": "/proc/sys/sunrpc/{rpc,nfs,nfsd,nlm}debug\nprocfs-based interface to kernel debug flags.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "rpc.nfsd(8), nfs(5), syslogd(8).\n",
            "subsections": []
        },
        "BUGS": {
            "content": "Bugs can be found or reported at http://nfs.sf.net/.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Program by Olaf Kirch <okir@suse.de>  and  <frederic.jolly@bull.ext.net>.   Manpage  by  Greg\nBanks <gnb@melbourne.sgi.com>.\n\n\n\n5 Jul 2006                                  rpcdebug(8)",
            "subsections": []
        }
    },
    "summary": "rpcdebug - set and clear NFS and RPC kernel debug flags",
    "flags": [
        {
            "flag": "-c",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-v",
            "long": null,
            "arg": null,
            "description": "available debug flags."
        },
        {
            "flag": "-m",
            "long": null,
            "arg": null,
            "description": "Specify which module's flags to set or clear. Available modules are: nfsd The NFS server. nfs The NFS client. nlm The Network Lock Manager, in either an NFS client or server. rpc The Remote Procedure Call module, in either an NFS client or server."
        },
        {
            "flag": "-s",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-v",
            "long": null,
            "arg": null,
            "description": ""
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "rpc.nfsd",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/rpc.nfsd/8/json"
        },
        {
            "name": "nfs",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/nfs/5/json"
        },
        {
            "name": "syslogd",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/syslogd/8/json"
        }
    ]
}