Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp754316pxb; Fri, 28 Jan 2022 09:15:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJzsH8wrEyw5BqJdyKHOXUo5hP/Q00qIg7CLZEszDOq9PiJSsl9fC7ypqvnAsyYYJSnYIxUH X-Received: by 2002:a17:902:d4ce:: with SMTP id o14mr9387662plg.39.1643390121719; Fri, 28 Jan 2022 09:15:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643390121; cv=none; d=google.com; s=arc-20160816; b=DZ6i5fw2Azl2FJk/s1Ej7dikFptKXuO/Yyzz8ZY1awcI3Y1OyX4ZGKAmIbXvb5Gc0J kaG+NlCaqoIheNTOh1fSMcrklxBn8+q8Qx7BAXQEBEYB97WOl6gLiYT6dv4qsoZQ8Hza b/bBP1ikpJ6zmBaBPCz/LJhbCP+raK+Q0knRFrXpnSWHs1WjOlLRRCUXk/QlK7SNmpHU 4hs3Rji/UcqZnTHpg/PkNvn+eSBE5KDZst93WjYjdvUkmcZcqcRRcuK4xdnm5b4imZrS Ugb/+5eoy1jJiVnDWEcWk+P+xKpBKjLwIuMHIwyHxOMw8/yECDNxR+ePjXyaW3YGnIR1 DBtQ== 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=AhOG6e9nTOmpjTzbQRMgirrPw1Wc7JqJ+RcYK7lemrE=; b=0eB13eB77sdehKrwTcsir9EPNQYdoyT4c8JZDBXF8GjsPCUbsG37nvxvmwGUNb8VwR yneY23t4oOBLOKZO0ILAxWjTzXdV0L2zxBOEfpe+WXLLnq+MqlgoogmQL3F6LEWaeGPC D5sm+trDoZm5icc5yzthS9+gPd7YJr37Hgv+ih9QvjnJsn1YCCvL154Uaa4CbWkvnWvs 6LUYm7pwzfPPYAvk49mt9aP7RBPXqvmhsNe1+ypqmBo5+1PyMZagPuAfCgrICY7bKdrX fkp1Wt+WsQ/Mgbfa3CCKsk/dhYltSAQ8oCp4Gn3ZYwSDFrQ46EcCanSE7kQuSBYZQgpl IM9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eTA0EbtY; 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 p8si2803984pjz.95.2022.01.28.09.15.00; Fri, 28 Jan 2022 09:15:21 -0800 (PST) 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=eTA0EbtY; 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 S245753AbiA0TuB (ORCPT + 99 others); Thu, 27 Jan 2022 14:50:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245709AbiA0TuB (ORCPT ); Thu, 27 Jan 2022 14:50:01 -0500 Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73927C061714 for ; Thu, 27 Jan 2022 11:50:00 -0800 (PST) Received: by mail-qt1-x835.google.com with SMTP id k14so3404317qtq.10 for ; Thu, 27 Jan 2022 11:50:00 -0800 (PST) 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=AhOG6e9nTOmpjTzbQRMgirrPw1Wc7JqJ+RcYK7lemrE=; b=eTA0EbtYSGu959RixikKvVdYhBJ7puEioirnBrK7lO0NTIpsDU3D+UM8KU9rHEUWSc Jhm2+FMYzwdBop0eSBxOo/FWTsYH0wvEU93ag8xPDM8hbDOPwoVpwCPB1CFLNplWLKzL mbGo+lB/tZGB45LOKtCE+0/m83JzXKPvHfdgzv1JFrmB9R7q2hzl60jKIOWBDSOqjc66 Fyb0F3Ph+U+USr1lOs4spvGaPmjKUuj+PF0ke5EeTRgyCfR9V6ClB4wPPGCbjUpKwb5x 7jkOOR0WPTKkFuxTcDgBKXyWCAswoAEUOSvfHKY+NF7GZYtvSUgwT8yEn8CgpMawAo6+ B22g== 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=AhOG6e9nTOmpjTzbQRMgirrPw1Wc7JqJ+RcYK7lemrE=; b=TWh74aKvlfkF9hzUO9zpG7QYOYrnDSVKSakHMbNXyBn2bmzxEvheimXrJXgtltIWHf Kyfs+remMMNrLHzv5hGhTsvIwE81Wkofv0EeLmQudGZNXOtv4Us/7+B4ezk0A2DXlphx af2PZPXqs7rAGDPVoL7Lh8fbHdEEep2TjnbEta/SshgjR4eKkjCkvKI3PZWA5X17DGOR /rOn7mgK5XH4wpgcqcyyWXbHGURgIQWWkUZlSB7Yg0yYJEb1U6nWXNJNyiBU/DZVNz1y CN5crqm9XMj8IPijbkWR54naoQVaavGuGjehfXaTCWIaGPUUNsL7TqbT188Ue9XPV7C5 mg7A== X-Gm-Message-State: AOAM533M+r8l00+s2dwAncqKWliWSh4u1Pm0IZ/P2szUuuIm0Kxm6Kj/ QiFCjmHUz8Hv/AeZddtQLCQ= X-Received: by 2002:ac8:5f89:: with SMTP id j9mr4037334qta.326.1643312999617; Thu, 27 Jan 2022 11:49:59 -0800 (PST) Received: from gouda.nowheycreamery.com ([2601:401:100:a3a:aa6d:aaff:fe2e:8a6a]) by smtp.gmail.com with ESMTPSA id g7sm1836483qkc.104.2022.01.27.11.49.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jan 2022 11:49:59 -0800 (PST) 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 v7 8/9] rpcctl: Add a man page Date: Thu, 27 Jan 2022 14:49:51 -0500 Message-Id: <20220127194952.63033-9-Anna.Schumaker@Netapp.com> X-Mailer: git-send-email 2.35.0 In-Reply-To: <20220127194952.63033-1-Anna.Schumaker@Netapp.com> References: <20220127194952.63033-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..e4dd53ac8531 --- /dev/null +++ b/tools/rpcctl/rpcctl.man @@ -0,0 +1,88 @@ +.\" +.\" rpcctl(8) +.\" +.TH rpcctl 8 "25 Jan 2022" +.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.35.0