NFSDCLTS(8) | nfsdclnts | NFSDCLTS(8) |
NAME¶
nfsdclnts - print various nfs client information for knfsd server.
SYNOPSIS¶
nfsdclnts [-h] [-t type] [--clientinfo] [--hostname] [-q]
DESCRIPTION¶
The nfsdclnts(8) command parses the content present in /proc/fs/nfsd/clients/ directories. nfsdclnts(8) displays files which are open, locked, delegated by the nfs-client. It also prints useful client information such as hostname, clientID, NFS version mounted by the nfs-client.
OPTIONS¶
-t, --type=TYPE
open, lock, deleg, layout, or all
open: displays the open files by nfs-client(s).
lock: displays the files locked by nfs-client(s).
layout: displays the files for which layout is given.
deleg: displays delegated files information and delegation type.
all: prints all the above type.
--clientinfo
--hostname
-q, --quiet
-v, --verbose
-f, --file
-h, --help
EXAMPLES¶
nfsdclnts --type open
Inode number | Type | Access | Deny | ip address | Filename 33823232 | open | r- | -- | [::1]:757 | testfile
nfsdclnts --type deleg
Inode number | Type | Access | ip address | Filename 33823232 | deleg | r | [::1]:757 | testfile
nfsdclnts --hostname
Inode number | Type | Access | Deny | Hostname | Filename 33823232 | open | r- | -- | nfs-server | testfile 33823232 | deleg | r | | nfs-server | testfile
nfsdclnts --clientinfo
Inode number | Type | Access | Deny | ip address | Client ID | vers | Filename 33823232 | open | r- | -- | [::1]:757 | 0xc79a009f5eb65e84 | 4.2 | testfile 33823232 | deleg | r | | [::1]:757 | 0xc79a009f5eb65e84 | 4.2 | testfile
nfsdclnts --file /proc/fs/nfsd/clients/3/states -t open
Inode number | Type | Access | Deny | ip address | Client ID | vers | Filename 33823232 | open | r- | -- | [::1]:757 | 0xc79a009f5eb65e84 | 4.2 | testfile
nfsdclnts --quiet --hostname
33823232 | open | r- | -- | nfs-server | testfile 33823232 | deleg | r | | nfs-server | testfile
FILES¶
/proc/fs/nfsd/clients/
Displays basic information about each NFSv4 client.
/proc/fs/nfsd/clients/#/info
Displays information about all the opens held by the given client, including open modes, device numbers, inode numbers, and open owners.
/proc/fs/nfsd/clients/#/states
NOTES¶
/proc/fs/nfsd/clients/ support was initially introduced in 5.3 kernel and is only implemented for mount points using NFSv4.
BUGS¶
Please report any BUGs to <linux-nfs@vger.kernel.org>
SEE ALSO¶
AUTHORS¶
Achilles Gaikwad <agaikwad@redhat.com> and Kenneth D'souza <kdsouza@redhat.com>
2020-05-09 | nfsdclnts |