{"id":3112,"date":"2022-12-20T16:43:31","date_gmt":"2022-12-20T19:43:31","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/nfsdclts-man8\/"},"modified":"2022-12-20T16:43:31","modified_gmt":"2022-12-20T19:43:31","slug":"nfsdclts-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/nfsdclts-man8\/","title":{"rendered":"NFSDCLTS (man8)"},"content":{"rendered":"<h1 align=\"center\">NFSDCLTS<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/a><br \/> <a href=\"#FILES\">FILES<\/a><br \/> <a href=\"#NOTES\">NOTES<\/a><br \/> <a href=\"#BUGS\">BUGS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHORS\">AUTHORS<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">nfsdclnts \u2212 print various nfs client information for knfsd server.<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>nfsdclnts<\/b> [<i>\u2212h<\/i>] [<i>\u2212t type<\/i>] [<i>\u2212\u2212clientinfo<\/i>] [<i>\u2212\u2212hostname<\/i>] [<i>\u2212q<\/i>]<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">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\u2212client. It also prints useful client information such as hostname, clientID, NFS version mounted by the nfs\u2212client.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212t, \u2212\u2212type<\/b>=TYPE<\/p>\n<p style=\"margin-left:17%;\">Specify the type of file to be displayed. Takes only one TYPE at a time.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><i>open<\/i>, <i>lock<\/i>, <i>deleg<\/i>, <i>layout<\/i>, or <i>all<\/i><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">open: displays the open files by nfs\u2212client(s).<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">lock: displays the files locked by nfs\u2212client(s).<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">layout: displays the files for which layout is given.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">deleg: displays delegated files information and delegation type.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">all: prints all the above type.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212\u2212clientinfo<\/b><\/p>\n<p style=\"margin-left:17%;\">displays various nfs\u2212client info fields such as version of nfs mounted at nfs\u2212client and clientID.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212\u2212hostname<\/b><\/p>\n<p style=\"margin-left:17%;\">Print hostname of nfs\u2212client instead of ip-address.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212q, \u2212\u2212quiet<\/b><\/p>\n<p style=\"margin-left:17%;\">Hide the header information.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212v, \u2212\u2212verbose<\/b><\/p>\n<p style=\"margin-left:17%;\">Verbose operation, show debug messages.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212f, \u2212\u2212file<\/b><\/p>\n<p style=\"margin-left:17%;\">Instead of processing all client directories under \/proc\/fs\/nfsd\/clients, one can provide a specific states file to process. One should make sure that info file resides in the same directory as states file. If the info file is not valid or present the fields would be marked as &#8220;N\/A&#8221;.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212h, \u2212\u2212help<\/b><\/p>\n<p style=\"margin-left:17%;\">Print help explaining the command line options.<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>nfsdclnts \u2212\u2212type open<\/b><\/p>\n<p style=\"margin-left:17%;\">List all files with open type only.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Inode number | Type | Access | Deny | ip address | Filename <br \/> 33823232 | open | r\u2212 | \u2212\u2212 | [::1]:757 | testfile<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>nfsdclnts \u2212\u2212type deleg<\/b><\/p>\n<p style=\"margin-left:17%;\">List all files with deleg type only.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Inode number | Type | Access | ip address | Filename <br \/> 33823232 | deleg | r | [::1]:757 | testfile<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>nfsdclnts \u2212\u2212hostname<\/b><\/p>\n<p style=\"margin-left:17%;\">Print hostname instead of ip\u2212address.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Inode number | Type | Access | Deny | Hostname | Filename <br \/> 33823232 | open | r\u2212 | \u2212\u2212 | nfs\u2212server | testfile <br \/> 33823232 | deleg | r | | nfs\u2212server | testfile<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>nfsdclnts \u2212\u2212clientinfo<\/b><\/p>\n<p style=\"margin-left:17%;\">Print client information.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Inode number | Type | Access | Deny | ip address | Client ID | vers | Filename <br \/> 33823232 | open | r\u2212 | \u2212\u2212 | [::1]:757 | 0xc79a009f5eb65e84 | 4.2 | testfile <br \/> 33823232 | deleg | r | | [::1]:757 | 0xc79a009f5eb65e84 | 4.2 | testfile<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>nfsdclnts \u2212\u2212file \/proc\/fs\/nfsd\/clients\/3\/states -t open<\/b><\/p>\n<p style=\"margin-left:17%;\">Process specific states file.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Inode number | Type | Access | Deny | ip address | Client ID | vers | Filename <br \/> 33823232 | open | r\u2212 | \u2212\u2212 | [::1]:757 | 0xc79a009f5eb65e84 | 4.2 | testfile<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>nfsdclnts \u2212\u2212quiet \u2212\u2212hostname<\/b><\/p>\n<p style=\"margin-left:17%;\">Hide the header information.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">33823232 | open | r\u2212 | \u2212\u2212 | nfs\u2212server | testfile <br \/> 33823232 | deleg | r | | nfs\u2212server | testfile<\/p>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\/proc\/fs\/nfsd\/clients\/<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Displays basic information about each NFSv4 client.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\/proc\/fs\/nfsd\/clients\/#\/info<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Displays information about all the opens held by the given client, including open modes, device numbers, inode numbers, and open owners.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\/proc\/fs\/nfsd\/clients\/#\/states<\/b><\/p>\n<h2>NOTES <a name=\"NOTES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\/proc\/fs\/nfsd\/clients\/ support was initially introduced in 5.3 kernel and is only implemented for mount points using NFSv4.<\/p>\n<h2>BUGS <a name=\"BUGS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Please report any BUGs to <linux\u2212nfs@vger.kernel.org><\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>nfsd<\/b>(8), <b>exportfs<\/b>(8), <b>idmapd<\/b>(8), <b>statd<\/b>(8)<\/p>\n<h2>AUTHORS <a name=\"AUTHORS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Achilles Gaikwad <agaikwad@redhat.com> and Kenneth D\u2019souza <kdsouza@redhat.com><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  nfsdclnts \u2212 print various nfs client information for knfsd server. <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,260],"class_list":["post-3112","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-nfsdclnts"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3112"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3112\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}