# rpcdebug - set and clear NFS and RPC kernel debug flags - man(8) - [phpMan]

[_rpcdebug_(8)](https://www.chedong.com/phpMan.php/man/rpcdebug/8/markdown)                            System Manager's Manual                           [_rpcdebug_(8)](https://www.chedong.com/phpMan.php/man/rpcdebug/8/markdown)

## NAME
       rpcdebug - set and clear NFS and RPC kernel debug flags

## SYNOPSIS
### rpcdebug -vh
       **rpcdebug -m _**module_
       **rpcdebug -m _**module_ **-s _**flags_...
       **rpcdebug -m _**module_ **-c _**flags_...

## DESCRIPTION
       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 problems.

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

## OPTIONS
### -c     

### -h      -v  
              available debug flags.

### -m _
              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.

### -s     

### -v     

## FILES
### /proc/sys/sunrpc/{rpc,nfs,nfsd,nlm}_debug
              procfs-based interface to kernel debug flags.

## SEE ALSO
       [**rpc.nfsd**(8)](https://www.chedong.com/phpMan.php/man/rpc.nfsd/8/markdown), [**nfs**(5)](https://www.chedong.com/phpMan.php/man/nfs/5/markdown), [**syslogd**(8)](https://www.chedong.com/phpMan.php/man/syslogd/8/markdown).

## BUGS
       Bugs can be found or reported at **<http://nfs.sf.net/>**.

## AUTHOR
       Program  by  Olaf  Kirch  <<okir@suse.de>>  and <<frederic.jolly@bull.ext.net>>.  Manpage by Greg
       Banks <<gnb@melbourne.sgi.com>>.

                                             5 Jul 2006                                  [_rpcdebug_(8)](https://www.chedong.com/phpMan.php/man/rpcdebug/8/markdown)
