xref: /freebsd/usr.sbin/nfsdumpstate/nfsdumpstate.8 (revision cc16dea626cf2fc80cde667ac4798065108e596c)
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.\" $FreeBSD$
26.\"
27.Dd April 25, 2009
28.Dt NFSDUMPSTATE 8
29.Os
30.Sh NAME
31.Nm nfsdumpstate
32.Nd display
33.Tn NFSv4
34open/lock state
35.Sh SYNOPSIS
36.Nm nfsdumpstate
37.Op Fl o
38.Op Fl l Ar filename
39.Sh DESCRIPTION
40.Nm
41displays open/lock state for the
42.Tn NFSv4
43client and server in the experimental nfs subsystem.
44.Pp
45The options are as follows:
46.Bl -tag -width Ds
47.It Fl o
48Displays a summary of Clients for NFSv4. Each line lists a Client with
49the ClientID being the last field of the line.
50.Pp
51The following are the client flag values displayed:
52.Bl -tag -compact -offset 2n -width MMMM
53.It NC
54Needs Confirmation
55.It CB
56Callbacks are enabled
57.It GSS
58Using RPCSEC_GSS
59.It REV
60Administratively Revoked, via nfsrevoke(8)
61.El
62.It Fl l Ar filename
63Displays a list of all NFSv4 Opens and Locks on the file specified by
64the
65.Ar filename .
66The ClientID is the last field of each line.
67.El
68.Sh SEE ALSO
69.Xr nfsv4 4 ,
70.Xr nfsrevoke 8
71.Sh HISTORY
72The
73.Nm
74utility was introduced with the NFSv4 experimental subsystem in 2009.
75