{"id":3630,"date":"2022-12-20T17:09:13","date_gmt":"2022-12-20T20:09:13","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/nfsstat-man8\/"},"modified":"2022-12-20T17:09:13","modified_gmt":"2022-12-20T20:09:13","slug":"nfsstat-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/nfsstat-man8\/","title":{"rendered":"nfsstat (man8)"},"content":{"rendered":"<h1 align=\"center\">nfsstat<\/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=\"#DISPLAY\">DISPLAY<\/a><br \/> <a href=\"#FILES\">FILES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#BUGS\">BUGS<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">nfsstat \u2212 list NFS statistics<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>nfsstat<\/b> [<i>OPTION<\/i>]&#8230;<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>nfsstat<\/b> displays statistics kept about NFS client and server activity.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212s, \u2212\u2212server<\/b><\/p>\n<p style=\"margin-left:22%;\">Print only server-side statistics. The default is to print both server and client statistics.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212c, \u2212\u2212client<\/b><\/p>\n<p style=\"margin-left:22%;\">Print only client-side statistics.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212n, \u2212\u2212nfs<\/b><\/p>\n<p style=\"margin-left:22%;\">Print only NFS statistics. The default is to print both NFS and RPC information.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>\u22122<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Print only NFS v2 statistics. The default is to only print information about the versions of <b>NFS<\/b> that have non-zero counts.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>\u22123<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Print only NFS v3 statistics. The default is to only print information about the versions of <b>NFS<\/b> that have non-zero counts.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>\u22124<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Print only NFS v4 statistics. The default is to only print information about the versions of <b>NFS<\/b> that have non-zero counts.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>\u2212m, \u2212\u2212mounts<\/b><\/p>\n<p style=\"margin-left:22%;\">Print information about each of the mounted <b>NFS<\/b> file systems.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">If this option is used, all other options are ignored.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212r, \u2212\u2212rpc<\/b><\/p>\n<p style=\"margin-left:22%;\">Print only RPC statistics.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212o<\/b> <i>facility<\/i><\/p>\n<p style=\"margin-left:22%;\">Display statistics for the specified facility, which must be one of:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"4%\">\n<p><b>nfs<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"68%\">\n<p>NFS protocol information, split up by RPC call.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"4%\">\n<p><b>rpc<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"68%\">\n<p>General RPC information.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"4%\">\n<p><b>net<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"68%\">\n<p>Network layer statistics, such as the number of received packets, number of TCP connections, etc.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"4%\">\n<p><b>fh<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"68%\">\n<p>Usage information on the server\u2019s file handle cache, including the total number of lookups, and the number of hits and misses.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"4%\">\n<p><b>rc<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"68%\">\n<p>Usage information on the server\u2019s request reply cache, including the total number of lookups, and the number of hits and misses.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"4%\">\n<p><b>io<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"68%\">\n<p>Usage information on the server\u2019s io statistics; bytes read and written.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"4%\">\n<p><b>ra<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"68%\">\n<p>Usage information on the server\u2019s read ahead cache, including the ra cache size, the depth of ra cache hits, and ra cache misses.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"22%\"><\/td>\n<td width=\"4%\">\n<p><b>all<\/b><\/p>\n<\/td>\n<td width=\"6%\"><\/td>\n<td width=\"68%\">\n<p>Display all of the above facilities.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>\u2212v, \u2212\u2212verbose<\/b><\/p>\n<p style=\"margin-left:22%;\">This is equivalent to <b>\u2212o all<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212l, \u2212\u2212list<\/b><\/p>\n<p style=\"margin-left:22%;\">Print information in list form.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212S, \u2212\u2212since<\/b> <i>file<\/i><\/p>\n<p style=\"margin-left:22%;\">Instead of printing current statistics, <b>nfsstat<\/b> imports statistics from <i>file<\/i> and displays the difference between those and the current statistics. Valid input <i>file<\/i>s may be in the form of <b>\/proc\/net\/rpc\/nfs<\/b> (raw client stats), <b>\/proc\/net\/rpc\/nfsd<\/b> (raw server stats), or saved output from <b>nfsstat<\/b> itself (client and\/or server stats). Any statistics missing from a saved <b>nfsstat<\/b> output <i>file<\/i> are treated as zeroes.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212Z[interval], \u2212\u2212sleep=[interval]<\/b><\/p>\n<p style=\"margin-left:22%;\">Instead of printing current statistics and immediately exiting, <b>nfsstat<\/b> takes a snapshot of the current statistics and pauses until it receives <b>SIGINT<\/b> (typically from <b>Ctrl-C<\/b>), at which point it takes another snapshot and displays the difference between the two. If <i>interval<\/i> is specified, <b>nfsstat<\/b> will print the number of <b>NFS<\/b> calls made since the previous report. Stats will be printed repeatedly every <i>interval<\/i> seconds.<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>nfsstat \u2212o all \u2212234<\/b><\/p>\n<p style=\"margin-left:22%;\">Show all information about all versions of <b>NFS<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>nfsstat \u2212\u2212verbose \u2212234<\/b><\/p>\n<p style=\"margin-left:22%;\">Same as above.<\/p>\n<p style=\"margin-left:11%;\"><b>nfsstat \u2212o all<\/b><\/p>\n<p style=\"margin-left:22%;\">Show all information about active versions of <b>NFS<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>nfsstat \u2212\u2212nfs \u2212\u2212server \u22123<\/b><\/p>\n<p style=\"margin-left:22%;\">Show statistics for <b>NFS<\/b> version 3 server.<\/p>\n<p style=\"margin-left:11%;\"><b>nfsstat \u2212m<\/b><\/p>\n<p style=\"margin-left:22%;\">Show information about mounted <b>NFS<\/b> filesystems.<\/p>\n<h2>DISPLAY <a name=\"DISPLAY\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>Flags<\/b> output from the <b>\u2212m<\/b> option is the same as the flags give to the <b>mount<\/b> command.<\/p>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\/proc\/net\/rpc\/nfsd<\/b><\/p>\n<p style=\"margin-left:22%;\"><b>procfs<\/b>-based interface to kernel NFS server statistics.<\/p>\n<p style=\"margin-left:11%;\"><b>\/proc\/net\/rpc\/nfs<\/b><\/p>\n<p style=\"margin-left:22%;\"><b>procfs<\/b>-based interface to kernel NFS client statistics.<\/p>\n<p style=\"margin-left:11%;\"><b>\/proc\/mounts<\/b><\/p>\n<p style=\"margin-left:22%;\"><b>procfs<\/b>-based interface to the mounted filesystems.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>rpc.nfsd<\/b>(8). <b>nfs<\/b>(5).<\/p>\n<h2>BUGS <a name=\"BUGS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The default output has been changed. To get the old default output you must run <b>nfsstat \u2212\u2212auto \u22122<\/b>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The function of the <b>\u2212v<\/b> and <b>\u2212a<\/b> options have changed. The <b>\u2212a<\/b> option is now reserved for future use. The <b>\u2212v<\/b> does what the <b>\u2212a<\/b> option used to do, and the new <b>\u2212[234]<\/b> options replace the <b>\u2212v<\/b> option.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>Display<\/b> section should be more complete.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Further bugs can be found or reported at <b>http:\/\/nfs.sf.net\/<\/b>.<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Olaf Kirch, <okir@suse.de><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  nfsstat \u2212 list NFS statistics <\/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,746],"class_list":["post-3630","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-nfsstat"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3630","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=3630"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3630\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3630"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3630"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3630"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}