rpcdebug(8)                System Manager's Manual               rpcdebug(8)

NAME         top

       rpcdebug - set and clear NFS and RPC kernel debug flags

SYNOPSIS         top

       rpcdebug -vh
       rpcdebug -m module
       rpcdebug -m module -s flags...
       rpcdebug -m module -c flags...

DESCRIPTION         top

       The rpcdebug command allows an administrator to set and clear the
       Linux kernel's NFS client and server debug flags.  Setting these
       flags causes the kernel to emit messages to the system log in
       response to NFS activity; this is typically useful when debugging NFS

       The first form in the synopsis can be used to list all available
       debug flags.  The second form shows the currently set debug flags for
       the given module.  The third form sets one or more flags, and the
       fourth form clears one or more flags.

       The value all may be used to set or clear all the flags for the given

OPTIONS         top

       -c     Clear the given debug flags.

       -h     Print a help message and exit.  When combined with the -v
              option, also prints the available debug flags.

       -m module
              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

              rpc    The Remote Procedure Call module, in either an NFS
                     client or server.

       -s     Set the given debug flags.

       -v     Increase the verbosity of rpcdebug's output.

FILES         top

              procfs-based interface to kernel debug flags.

SEE ALSO         top

       rpc.nfsd(8), nfs(5), syslogd(8).

BUGS         top

       Bugs can be found or reported at .

AUTHOR         top

       Program by Olaf Kirch <> and
       <>.  Manpage by Greg Banks

COLOPHON         top

       This page is part of the nfs-utils (NFS utilities) project.
       Information about the project can be found at 
       ⟨⟩.  If you have a bug
       report for this manual page, see 
       ⟨⟩.  This page was
       obtained from the project's upstream Git repository 
       ⟨;a=summary⟩ on
       2017-03-13.  If you discover any rendering problems in this HTML ver‐
       sion of the page, or you believe there is a better or more up-to-date
       source for the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original man‐
       ual page), send a mail to

                                 5 Jul 2006                      rpcdebug(8)