2003-08-07 15:13:06 +04:00
|
|
|
.\" $NetBSD: nfsstat.1,v 1.13 2003/08/07 11:15:22 agc Exp $
|
1996-03-03 20:21:25 +03:00
|
|
|
.\"
|
1994-06-14 01:02:17 +04:00
|
|
|
.\" Copyright (c) 1989, 1990, 1993
|
|
|
|
.\" The Regents of the University of California. All rights reserved.
|
1993-03-21 12:45:37 +03:00
|
|
|
.\"
|
|
|
|
.\" 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.
|
2003-08-07 15:13:06 +04:00
|
|
|
.\" 3. Neither the name of the University nor the names of its contributors
|
1993-03-21 12:45:37 +03:00
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" 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.
|
|
|
|
.\"
|
1994-06-14 01:02:17 +04:00
|
|
|
.\" from: @(#)nfsstat.1 8.1 (Berkeley) 6/6/93
|
1993-03-21 12:45:37 +03:00
|
|
|
.\"
|
1994-06-14 01:02:17 +04:00
|
|
|
.Dd June 6, 1993
|
1993-03-21 12:45:37 +03:00
|
|
|
.Dt NFSSTAT 1
|
1999-03-22 21:16:34 +03:00
|
|
|
.Os
|
1993-03-21 12:45:37 +03:00
|
|
|
.Sh NAME
|
|
|
|
.Nm nfsstat
|
|
|
|
.Nd display
|
|
|
|
.Tn NFS
|
|
|
|
statistics
|
|
|
|
.Sh SYNOPSIS
|
1997-10-19 10:27:20 +04:00
|
|
|
.Nm
|
1998-03-25 22:54:20 +03:00
|
|
|
.Op Fl cs
|
1993-03-21 12:45:37 +03:00
|
|
|
.Op Fl M Ar core
|
|
|
|
.Op Fl N Ar system
|
|
|
|
.Op Fl w Ar wait
|
|
|
|
.Sh DESCRIPTION
|
1997-10-19 10:27:20 +04:00
|
|
|
.Nm
|
1993-03-21 12:45:37 +03:00
|
|
|
displays statistics kept about
|
|
|
|
.Tn NFS
|
|
|
|
client and server activity.
|
|
|
|
.Pp
|
|
|
|
The options are as follows:
|
|
|
|
.Bl -tag -width Ds
|
1998-03-25 22:54:20 +03:00
|
|
|
.It Fl c
|
2001-05-07 03:48:31 +04:00
|
|
|
Only display values for NFS client side.
|
1998-03-25 22:54:20 +03:00
|
|
|
.It Fl s
|
2001-05-07 03:48:31 +04:00
|
|
|
Only display values for NFS server side.
|
1993-03-21 12:45:37 +03:00
|
|
|
.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
|
1994-08-06 10:11:03 +04:00
|
|
|
.Pa /netbsd .
|
1993-03-21 12:45:37 +03:00
|
|
|
.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
|
|
|
|
.Bl -tag -width /dev/kmem -compact
|
1994-08-06 10:11:03 +04:00
|
|
|
.It Pa /netbsd
|
1994-06-14 01:02:17 +04:00
|
|
|
default kernel namelist
|
1993-03-21 12:45:37 +03:00
|
|
|
.It Pa /dev/kmem
|
|
|
|
default memory file
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr fstat 1 ,
|
|
|
|
.Xr netstat 1 ,
|
|
|
|
.Xr ps 1 ,
|
|
|
|
.Xr systat 1 ,
|
2001-05-07 03:48:31 +04:00
|
|
|
.Xr vmstat 1 ,
|
1993-03-21 12:45:37 +03:00
|
|
|
.Xr iostat 8 ,
|
2001-05-07 03:48:31 +04:00
|
|
|
.Xr pstat 8
|
1993-03-21 12:45:37 +03:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
1997-10-19 10:27:20 +04:00
|
|
|
.Nm
|
1994-06-14 01:02:17 +04:00
|
|
|
command appears in
|
|
|
|
.Bx 4.4 .
|