Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1871268pxb; Thu, 28 Oct 2021 11:36:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/0rVPlnNfZg1cNVgBrDFmKg2HKcYFSVubDtLMlVMGuMFBxnp222ua/ZlosyWTk1cVtbGV X-Received: by 2002:a05:6402:190e:: with SMTP id e14mr8267927edz.20.1635446165255; Thu, 28 Oct 2021 11:36:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635446165; cv=none; d=google.com; s=arc-20160816; b=bZeixtCZEhjt7LxLbKBzW/IRt1NT6IhxezoKjh5wQNfiNDVP9k8KuutNyTxZ+c56ut JZ/CJYXAg4YvFsl960L7AisuD8E2TScipSKP+3hOCAq3QVAsMLqneMq3PKYWXcgxiluH uX8tIiXH8b23OQAmRsgl2sqNFRpRPXrAi1X1182eiTcd4AbHu1hZui2UTvtEgoikICF+ aOFBFKAPACCC62zTSoGymXMjl0fiO5tEWf5md5/VaCLvuibg2Ben9KTEwx1CT0yeAIZh GK1cJo0/Tz6ChOZGOJ698odIX8O5XMd0a3BrUMkdBUesiQpnDSjgD8SRHUjaKF5hswts fxpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:sender :dkim-signature; bh=BNF21b7o9pVNnDZqS+hsA6oGp6Q443tS/9+eQ33iVAg=; b=uCHHfkMNlu3NZb4sx0Ty3dUE2FF+Rcq/KPyjHGzA6OMWsbJBqUoRDh0W2rvdx+vFk0 umiTevIno3G6SxorA7huCOpRb+nO6ed+YqEnsRz7ofnpWDLuce9RAeBH5UwdM32t0kaz vbbikJjaNYAwh6NXqYQWrPo83hAXPdnDHSzVJNSceQu0+MnrcCP6/n1kbRVSmzl3rDg9 3RAXh20cEdfSTDXJAO4HDthR+NtT7E2lscKmWVFQb2v6s6BfvZCM4cGHYngxhF6qkYEg W2QJi6M2L61uoo2LKlmwwmTR4bCpydtxa8fBIJkMRMHD2OJwm66S0lPzyNwEzUdt6Lzb EVeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=H7Ynb4vy; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id he35si5901613ejc.201.2021.10.28.11.35.36; Thu, 28 Oct 2021 11:36:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=H7Ynb4vy; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231203AbhJ1Sh6 (ORCPT + 99 others); Thu, 28 Oct 2021 14:37:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231133AbhJ1Sh5 (ORCPT ); Thu, 28 Oct 2021 14:37:57 -0400 Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 200CDC061570 for ; Thu, 28 Oct 2021 11:35:30 -0700 (PDT) Received: by mail-qk1-x734.google.com with SMTP id x123so6783073qke.7 for ; Thu, 28 Oct 2021 11:35:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BNF21b7o9pVNnDZqS+hsA6oGp6Q443tS/9+eQ33iVAg=; b=H7Ynb4vyBnPCPnciZXnf5C5iEd9GCVhF6LvGwUHGM00if6IMoz/KPOQinC4W24FwDA TCBwE8K5URDkxBtn53WQLHRNJbISgZ+1iBF2Lg2VYN3f0WP95dpfEZ7Td/LxSpfWXhLc 6TDtCBNek4NxDGRRyw4UYpv2125SypiLbx21g/OHTR2Qe9qfBPXaWmYr4xUJjaR4DQXR IK47afifxFtX9Fk4vy2us7LnCIKac4TSr6Islc4xxaP0CtTMK+Pt4Bcxj5rZsGUtzfce l7I1Si/V8nTPnS0JySCPQNFGuOy1DfJ24mprqXaP5Lnsegdp2oGX0Ge0bp8wOzXbv5p1 2hCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=BNF21b7o9pVNnDZqS+hsA6oGp6Q443tS/9+eQ33iVAg=; b=MXI8qH6hi5HNCRzJlSvFXFd8WkaUM3due24lsqVDmv0LdP7fAyoaAhgUL52r/4SUsy eTiYSUbiyJAGGp/+29fysm93h+id+k71TnvpDJ+CtuK9e8iKI6kbDHDF92Caz/O3lPlp SI7qRef4eGh1LfpU2y8IZH3wRlyXCnYkH3DXi4P4uGmz2NOCOsaTCHEYVbuTkqAABG2r P+HjMP8Hsna/2En4u8bv9jWNAZ4o7RBx5DI2JPvN2VVZZ4QI7SunXyRMw7FztTfcevDo nhx/H6vvV451WV1D9z/NIq/34TMk4xGVbpSCpTAvp9QR4j+WILKkbMSchz6fawy6mOBG lxKQ== X-Gm-Message-State: AOAM533pw7Ta+2I1sul6I+o1Sy9H3yp0zjAhpWWhN/QRrjCM07Q/C3k2 7E7DVGLs891ZweU+lKuAQGAFDlcTc0Y= X-Received: by 2002:a37:9a88:: with SMTP id c130mr5205606qke.494.1635446129050; Thu, 28 Oct 2021 11:35:29 -0700 (PDT) Received: from gouda.nowheycreamery.com ([2601:401:100:a3a:aa6d:aaff:fe2e:8a6a]) by smtp.gmail.com with ESMTPSA id q13sm2556476qkl.7.2021.10.28.11.35.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Oct 2021 11:35:28 -0700 (PDT) Sender: Anna Schumaker From: schumaker.anna@gmail.com X-Google-Original-From: Anna.Schumaker@Netapp.com To: steved@redhat.com, linux-nfs@vger.kernel.org Cc: Anna.Schumaker@Netapp.com Subject: [PATCH v5 8/9] rpcctl: Add a man page Date: Thu, 28 Oct 2021 14:35:18 -0400 Message-Id: <20211028183519.160772-9-Anna.Schumaker@Netapp.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211028183519.160772-1-Anna.Schumaker@Netapp.com> References: <20211028183519.160772-1-Anna.Schumaker@Netapp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org From: Anna Schumaker Signed-off-by: Anna Schumaker --- tools/rpcctl/rpcctl.man | 88 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 tools/rpcctl/rpcctl.man diff --git a/tools/rpcctl/rpcctl.man b/tools/rpcctl/rpcctl.man new file mode 100644 index 000000000000..5da608aa1907 --- /dev/null +++ b/tools/rpcctl/rpcctl.man @@ -0,0 +1,88 @@ +.\" +.\" rpcctl(8) +.\" +.TH rpcctl 8 "22 Oct 2021" +.SH NAME +rpcctl \- Displays SunRPC connection information +.SH SYNOPSIS +.B rpcctl +.RB [ \-h | \-\-help ] +.P +.B rpcctl client +.RB [ \-h | \-\-help ] +.RB [ \--id +.IR ID ] +.P +.B rpcctl switch +.RB [ \-h | \-\-help ] +.RB [ \--id +.IR ID ] +.P +.B rpcctl switch set +.RB [ \-h | \-\-help ] +.RB [ \--id +.IR ID ] +.RB [ \--dstaddr +.IR dstaddr] +.P +.B rpcctl xprt +.RB [ \-h | \-\-help ] +.RB [ \--id +.IR ID ] +.P +.B rpcctl xprt set +.RB [ \-h | \-\-help ] +.RB [ \--id +.IR ID ] +.RB [ \--dstaddr +.IR dstaddr] +.RB [ --offline ] +.RB [ --online ] +.RB [ --remove ] +.P +.SH DESCRIPTION +.RB "The " rpcctl " command displays information collected in the SunRPC sysfs files about the system's SunRPC objects. +.P +.SS Objects +Valid +.BR rpcctl (8) +objects are: +.IP "\fBclient\fP" +Display information about this system's RPC clients. +.IP "\fBswitch\fP" +Display information about groups of transports. +.IP "\fBxprt\fP" +Display detailed information about each transport that exists on the system. +.SH OPTIONS +.SS Options valid for all objects +.TP +.B \-h, \-\-help +Show the help message and exit +.TP +.B \-\-id \fIID +Set or display properties for the object with the given +.IR ID. +This option is mandatory for setting properties. +.SS Options specific to the `switch set` sub-command +.TP +.B \-\-dstaddr \fIdstaddr +Change the destination address of all transports in the switch to +.IR dstaddr +.SS Options specific to the `xprt set` sub-command +.TP +.B \-\-dstaddr \fIdstaddr +Change the destination address of this specific transport to +.TP +.B \-\-offline +Change the transport state from online to offline +.TP +.B \-\-online +Change the transport state from offline to online +.TP +.B \-\-remove +Removes the transport from the switch. Note that "main" transports cannot be removed. +.SH DIRECTORY +.TP +.B /sys/kernel/sunrpc/ +.SH AUTHOR +Anna Schumaker -- 2.33.1