xref: /freebsd/usr.sbin/nfsdumpstate/nfsdumpstate.8 (revision fe75646a0234a261c0013bf1840fdac4acaf0cec)
1.\" Copyright (c) 2009 Rick Macklem, University of Guelph
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\"
13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.Dd April 25, 2009
26.Dt NFSDUMPSTATE 8
27.Os
28.Sh NAME
29.Nm nfsdumpstate
30.Nd display
31.Tn NFSv4
32open/lock state
33.Sh SYNOPSIS
34.Nm nfsdumpstate
35.Op Fl o
36.Op Fl l Ar filename
37.Sh DESCRIPTION
38.Nm
39displays open/lock state for the
40.Tn NFSv4
41client and server in the experimental nfs subsystem.
42.Pp
43The options are as follows:
44.Bl -tag -width Ds
45.It Fl o
46Displays a summary of Clients for NFSv4. Each line lists a Client with
47the ClientID being the last field of the line.
48.Pp
49The following are the client flag values displayed:
50.Bl -tag -compact -offset 2n -width MMMM
51.It NC
52Needs Confirmation
53.It CB
54Callbacks are enabled
55.It GSS
56Using RPCSEC_GSS
57.It REV
58Administratively Revoked, via nfsrevoke(8)
59.El
60.It Fl l Ar filename
61Displays a list of all NFSv4 Opens and Locks on the file specified by
62the
63.Ar filename .
64The ClientID is the last field of each line.
65.El
66.Sh SEE ALSO
67.Xr nfsv4 4 ,
68.Xr nfsrevoke 8
69.Sh HISTORY
70The
71.Nm
72utility was introduced with the NFSv4 experimental subsystem in 2009.
73