1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-05 18:05:16 +00:00

Add RPC count reporting for the two new RPCs added by r320322.

This is a content change.

PR:		219550
MFC after:	2 weeks
This commit is contained in:
Rick Macklem 2017-06-24 20:09:23 +00:00
parent a351e99ce6
commit 2d44649837
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320323

View File

@ -924,6 +924,13 @@ exp41_intpr(int clientOnly, int serverOnly)
(uintmax_t)ext_nfsstats.rpccnt[NFSPROC_READDS],
(uintmax_t)ext_nfsstats.rpccnt[NFSPROC_WRITEDS],
(uintmax_t)ext_nfsstats.rpccnt[NFSPROC_COMMITDS]);
if (printtitle)
printf(
"%12.12s %12.12s\n",
"OpenLayout", "CreateLayout");
printf("%12ju %12ju\n",
(uintmax_t)ext_nfsstats.rpccnt[NFSPROC_OPENLAYGET],
(uintmax_t)ext_nfsstats.rpccnt[NFSPROC_CREATELAYGET]);
if (printtitle)
printf(
"%12.12s %12.12s %12.12s %12.12s %12.12s %12.12s\n",