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