Annotation of src/usr.bin/nfsstat/nfsstat.1, Revision 1.9
1.9 ! mickey 1: .\" $OpenBSD: nfsstat.1,v 1.8 2000/04/18 20:17:54 mickey Exp $
1.2 niklas 2: .\" $NetBSD: nfsstat.1,v 1.8 1996/03/03 17:21:28 thorpej Exp $
3: .\"
1.1 deraadt 4: .\" Copyright (c) 1989, 1990, 1993
5: .\" The Regents of the University of California. All rights reserved.
6: .\"
7: .\" Redistribution and use in source and binary forms, with or without
8: .\" modification, are permitted provided that the following conditions
9: .\" are met:
10: .\" 1. Redistributions of source code must retain the above copyright
11: .\" notice, this list of conditions and the following disclaimer.
12: .\" 2. Redistributions in binary form must reproduce the above copyright
13: .\" notice, this list of conditions and the following disclaimer in the
14: .\" documentation and/or other materials provided with the distribution.
15: .\" 3. All advertising materials mentioning features or use of this software
16: .\" must display the following acknowledgement:
17: .\" This product includes software developed by the University of
18: .\" California, Berkeley and its contributors.
19: .\" 4. Neither the name of the University nor the names of its contributors
20: .\" may be used to endorse or promote products derived from this software
21: .\" without specific prior written permission.
22: .\"
23: .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
24: .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25: .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26: .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27: .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28: .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29: .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30: .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31: .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32: .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33: .\" SUCH DAMAGE.
34: .\"
35: .\" from: @(#)nfsstat.1 8.1 (Berkeley) 6/6/93
36: .\"
37: .Dd June 6, 1993
38: .Dt NFSSTAT 1
1.6 aaron 39: .Os
1.1 deraadt 40: .Sh NAME
41: .Nm nfsstat
42: .Nd display
43: .Tn NFS
44: statistics
45: .Sh SYNOPSIS
46: .Nm nfsstat
1.8 mickey 47: .Op Fl M Ar core
48: .Op Fl N Ar system
1.1 deraadt 49: .Op Fl w Ar wait
1.4 kstailey 50: .Op Fl s
51: .Op Fl c
1.1 deraadt 52: .Sh DESCRIPTION
1.6 aaron 53: .Nm
1.1 deraadt 54: displays statistics kept about
55: .Tn NFS
56: client and server activity.
1.9 ! mickey 57: If niether
! 58: .Fl M
! 59: nor
! 60: .Fl N
! 61: option was specified statics will be obtained from the running system
! 62: by calling
! 63: .Xr sysctl 3
! 64: routine. Otherwise specified core and system will be used to fetch
! 65: data by means of
! 66: .Xr kvm 3 .
1.1 deraadt 67: .Pp
68: The options are as follows:
69: .Bl -tag -width Ds
1.8 mickey 70: .It Fl M Ar core
71: Extract values associated with the name list from the specified core
72: instead of the default
73: .Pa /dev/kmem .
74: .It Fl N Ar system
75: Extract the name list from the specified system instead of the default
76: .Pa /bsd .
1.5 aaron 77: .It Fl w Ar wait
1.1 deraadt 78: Display a shorter summary of
79: .Tn NFS
80: activity for both the client and server at
81: .Ar wait
82: second intervals.
1.4 kstailey 83: .It Fl s
84: Display server statistics only.
85: .It Fl c
1.9 ! mickey 86: Display client statistics only.
! 87: .El
1.8 mickey 88: .Sh FILES
89: .Bl -tag -width /dev/kmem -compact
90: .It Pa /bsd
91: default kernel namelist
92: .It Pa /dev/kmem
93: default memory file
94: .El
1.1 deraadt 95: .Sh SEE ALSO
96: .Xr fstat 1 ,
97: .Xr netstat 1 ,
98: .Xr ps 1 ,
99: .Xr systat 1 ,
1.9 ! mickey 100: .Xr kvm 3 ,
! 101: .Xr sysctl 3 ,
1.1 deraadt 102: .Xr iostat 8 ,
103: .Xr pstat 8 ,
1.6 aaron 104: .Xr vmstat 8
1.1 deraadt 105: .Sh HISTORY
106: The
1.6 aaron 107: .Nm
1.5 aaron 108: command appeared in
1.1 deraadt 109: .Bx 4.4 .