1NFSDCLTS(8)                        nfsdclnts                       NFSDCLTS(8)
2
3
4

NAME

6       nfsdclnts - print various nfs client information for knfsd server.
7

SYNOPSIS

9       nfsdclnts [-h] [-t type] [--clientinfo] [--hostname] [-q]
10

DESCRIPTION

12       The nfsdclnts(8) command parses the content present in
13       /proc/fs/nfsd/clients/ directories. nfsdclnts(8) displays files which
14       are open, locked, delegated by the nfs-client. It also prints useful
15       client information such as hostname, clientID, NFS version mounted by
16       the nfs-client.
17

OPTIONS

19       -t, --type=TYPE
20           Specify the type of file to be displayed. Takes only one TYPE at a
21           time.
22
23           open, lock, deleg, layout, or all
24
25           open: displays the open files by nfs-client(s).
26
27           lock: displays the files locked by nfs-client(s).
28
29           layout: displays the files for which layout is given.
30
31           deleg: displays delegated files information and delegation type.
32
33           all: prints all the above type.
34
35       --clientinfo
36           displays various nfs-client info fields such as version of nfs
37           mounted at nfs-client and clientID.
38
39       --hostname
40           Print hostname of nfs-client instead of ip-address.
41
42       -q, --quiet
43           Hide the header information.
44
45       -v, --verbose
46           Verbose operation, show debug messages.
47
48       -f, --file
49           Instead of processing all client directories under
50           /proc/fs/nfsd/clients, one can provide a specific states file to
51           process. One should make sure that info file resides in the same
52           directory as states file. If the info file is not valid or present
53           the fields would be marked as "N/A".
54
55       -h, --help
56           Print help explaining the command line options.
57

EXAMPLES

59       nfsdclnts --type open
60           List all files with open type only.
61
62           Inode number | Type   | Access | Deny | ip address            | Filename
63           33823232     | open   | r-     | --   | [::1]:757             | testfile
64
65       nfsdclnts --type deleg
66           List all files with deleg type only.
67
68           Inode number | Type   | Access | ip address            | Filename
69           33823232     | deleg  | r      | [::1]:757             | testfile
70
71       nfsdclnts --hostname
72           Print hostname instead of ip-address.
73
74           Inode number | Type   | Access | Deny | Hostname              | Filename
75           33823232     | open   | r-     | --   | nfs-server            | testfile
76           33823232     | deleg  | r      |      | nfs-server            | testfile
77
78       nfsdclnts --clientinfo
79           Print client information.
80
81           Inode number | Type   | Access | Deny | ip address            | Client ID           | vers | Filename
82           33823232     | open   | r-     | --   | [::1]:757             | 0xc79a009f5eb65e84  | 4.2  | testfile
83           33823232     | deleg  | r      |      | [::1]:757             | 0xc79a009f5eb65e84  | 4.2  | testfile
84
85       nfsdclnts --file /proc/fs/nfsd/clients/3/states -t open
86           Process specific states file.
87
88           Inode number | Type   | Access | Deny | ip address            | Client ID           | vers | Filename
89           33823232     | open   | r-     | --   | [::1]:757             | 0xc79a009f5eb65e84  | 4.2  | testfile
90
91       nfsdclnts --quiet --hostname
92           Hide the header information.
93
94           33823232     | open   | r-     | --   | nfs-server            | testfile
95           33823232     | deleg  | r      |      | nfs-server            | testfile
96

FILES

98       /proc/fs/nfsd/clients/
99
100       Displays basic information about each NFSv4 client.
101
102       /proc/fs/nfsd/clients/#/info
103
104       Displays information about all the opens held by the given client,
105       including open modes, device numbers, inode numbers, and open owners.
106
107       /proc/fs/nfsd/clients/#/states
108

NOTES

110       /proc/fs/nfsd/clients/ support was initially introduced in 5.3 kernel
111       and is only implemented for mount points using NFSv4.
112

BUGS

114       Please report any BUGs to linux-nfs@vger.kernel.org
115

SEE ALSO

117       nfsd(8), exportfs(8), idmapd(8), statd(8)
118

AUTHORS

120       Achilles Gaikwad <agaikwad@redhat.com> and Kenneth D'souza
121       <kdsouza@redhat.com>
122
123
124
125nfsdclnts                         2020-05-09                       NFSDCLTS(8)
Impressum