From patchwork Mon Dec 8 19:57:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Mayhew X-Patchwork-Id: 5458631 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 63E60BEEA8 for ; Mon, 8 Dec 2014 20:52:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9221E200FF for ; Mon, 8 Dec 2014 20:52:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A407620166 for ; Mon, 8 Dec 2014 20:52:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755080AbaLHUwe (ORCPT ); Mon, 8 Dec 2014 15:52:34 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48879 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754277AbaLHUwb (ORCPT ); Mon, 8 Dec 2014 15:52:31 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sB8KqSoG017481 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 8 Dec 2014 15:52:31 -0500 Received: from tonberry.usersys.redhat.com (dhcp145-188.rdu.redhat.com [10.13.145.188]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB8KF9I1018387 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 8 Dec 2014 15:17:34 -0500 Received: from tonberry.usersys.redhat.com (localhost [127.0.0.1]) by tonberry.usersys.redhat.com (8.14.8/8.14.5) with ESMTP id sB8JvW70010227 for ; Mon, 8 Dec 2014 14:57:32 -0500 Received: (from smayhew@localhost) by tonberry.usersys.redhat.com (8.14.8/8.14.8/Submit) id sB8JvVPc010226 for linux-nfs@vger.kernel.org; Mon, 8 Dec 2014 14:57:31 -0500 From: Scott Mayhew To: linux-nfs@vger.kernel.org Subject: [nfs-utils PATCH v3 14/17] mountstats: Updated the mountstats(8) man page. Date: Mon, 8 Dec 2014 14:57:22 -0500 Message-Id: <1418068645-10134-15-git-send-email-smayhew@redhat.com> In-Reply-To: <1418068645-10134-1-git-send-email-smayhew@redhat.com> References: <1418068645-10134-1-git-send-email-smayhew@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Updated the mounstats(8) man page to match the --help output. Signed-off-by: Scott Mayhew --- tools/mountstats/mountstats.man | 44 +++++++++++++++++++++++++++++------------ 1 file changed, 31 insertions(+), 13 deletions(-) diff --git a/tools/mountstats/mountstats.man b/tools/mountstats/mountstats.man index 0de31b7..50b3860 100644 --- a/tools/mountstats/mountstats.man +++ b/tools/mountstats/mountstats.man @@ -1,32 +1,50 @@ .\" .\" mountstats(8) .\" -.TH mountstats 8 "15 Apr 2010" +.TH mountstats 8 "25 Nov 2014" .SH NAME mountstats \- Displays NFS client per-mount statistics .SH SYNOPSIS -.BI "mountstats [" "] " " [ " "]" +\fBmountstats [\fIOPTION\fB]\fR... \fB[\fImountpoint\fB]\fR... .SH DESCRIPTION -The -.B mountstats -command displays NFS client statisitics on each given -.I +.RB "The " mountstats " command displays NFS client statisitics on each given" +.IR mountpoint . +.P +.RI "If no " mountpoint " is given, statistics will be displayed for all NFS mountpoints on the client." .SH OPTIONS .TP -.B " \-\-nfs -display only the NFS statistics +.B \-h, \-\-help +show the help message and exit .TP -.B " \-\-rpc -display only the RPC statistics +.B \-v, \-\-version +show program's version number and exit .TP -.B " \-\-version -display the version of this command +\fB\-f \fIINFILE\fR, \fB\-\-file \fIINFILE +.RI "Read stats from " INFILE " instead of " /proc/self/mountstats ". " +.TP +\fB\-S \fISINCE\fR, \fB\-\-since \fISINCE +.RI "Show difference between current stats and those in " SINCE ". " +.TP +.B \-n, \-\-nfs +Display only the NFS statistics +.TP +.B \-r, \-\-rpc +Display only the RPC statistics +.TP +.B \-R, \-\-raw +Display only the raw statistics. This is intended for use with the +.B \-f/\-\-file +and +.B \-S/\-\-since +options. .SH FILES .TP .B /proc/self/mountstats .SH SEE ALSO .BR iostat (8), .BR nfsiostat (8), -.BR nfsstat(8) +.BR nfsstat (8), +.BR ms-iostat (8), +.BR ms-nfsstat (8) .SH AUTHOR Chuck Lever