BSD 4_3_Net_2 release
[unix-history] / usr / src / usr.bin / nfsstat / nfsstat.1
index b7506cd..7b8f058 100644 (file)
@@ -1,71 +1,88 @@
 .\" Copyright (c) 1989, 1990 The Regents of the University of California.
 .\" All rights reserved.
 .\"
 .\" Copyright (c) 1989, 1990 The Regents of the University of California.
 .\" All rights reserved.
 .\"
-.\" Redistribution and use in source and binary forms are permitted provided
-.\" that: (1) source distributions retain this entire copyright notice and
-.\" comment, and (2) distributions including binaries display the following
-.\" acknowledgement:  ``This product includes software developed by the
-.\" University of California, Berkeley and its contributors'' in the
-.\" documentation or other materials provided with the distribution and in
-.\" all advertising materials mentioning features or use of this software.
-.\" Neither the name of the University nor the names of its contributors may
-.\" be used to endorse or promote products derived from this software without
-.\" specific prior written permission.
-.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
-.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
-.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
 .\"
 .\"
-.\"     @(#)nfsstat.1  5.3 (Berkeley) 7/24/90
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
 .\"
 .\"
-.Dd July 24, 1990
+.\"     @(#)nfsstat.1  5.7 (Berkeley) 7/30/91
+.\"
+.Dd July 30, 1991
 .Dt NFSSTAT 1
 .Dt NFSSTAT 1
-.Os BSD 4.4
+.Os
 .Sh NAME
 .Nm nfsstat
 .Sh NAME
 .Nm nfsstat
-.Nd report NFS statistics
+.Nd display
+.Tn NFS
+statistics
 .Sh SYNOPSIS
 .Nm nfsstat
 .Sh SYNOPSIS
 .Nm nfsstat
-.Ob
-.Ar interval
-.Op Ar system Op Ar corefile
-.Oe
+.Op Fl M Ar core
+.Op Fl N Ar system
+.Op Fl w Ar wait
 .Sh DESCRIPTION
 .Nm Nfsstat
 .Sh DESCRIPTION
 .Nm Nfsstat
-delves into the system and normally reports certain statistics kept about
-.Li NFS
+displays statistics kept about
+.Tn NFS
 client and server activity.
 client and server activity.
-If
-.Ar interval
-is specified, then successive lines are summaries over the last
-.Ar interval
-seconds.
-The command
-.Dq Li nfsstat 5
-will print what
-.Li NFS
-is doing every five seconds.
 .Pp
 .Pp
-A second argument is taken
-to be the file containing the system's namelist.
-Otherwise,
-.Pa /vmunix
-is used.
-A third argument tells
-.Nm nfsstat
-where to look for
-.Pa core  .
-Otherwise,
-.Pa /dev/kmem
-is used.
+The options are as follows:
+.Bl -tag -width Ds
+.It Fl M
+Extract values associated with the name list from the specified core
+instead of the default
+.Pa /dev/kmem .
+.It Fl N
+Extract the name list from the specified system instead of the default
+.Pa /vmunix .
+.It Fl w
+Display a shorter summary of
+.Tn NFS
+activity for both the client and server at
+.Ar wait
+second intervals.
+.El
 .Sh FILES
 .Sh FILES
-.Dw /dev/kmem
-.Di L
-.Dp Pa /dev/kmem
-.Dp Pa /vmunix
-.Dp
+.Bl -tag -width /dev/kmem -compact
+.It Pa /vmunix
+default kernel namelist
+.It Pa /dev/kmem
+default memory file
+.El
 .Sh SEE ALSO
 .Sh SEE ALSO
-.Xr netstat  1  ,
-.Xr vmstat  1
+.Xr fstat 1 ,
+.Xr netstat 1 ,
+.Xr ps 1 ,
+.Xr systat 1 ,
+.Xr vmstat 1 ,
+.Xr iostat 8 ,
+.Xr pstat 8 ,
 .Sh HISTORY
 .Sh HISTORY
-.Nm Nfsstat
-appears in 4.4 BSD.
+The
+.Nm nfsstat
+command is
+.Ud .