[BACK]Return to nfsstat.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / nfsstat

Annotation of src/usr.bin/nfsstat/nfsstat.1, Revision 1.18

1.18    ! jsg         1: .\"    $OpenBSD: nfsstat.1,v 1.17 2022/03/31 17:27:26 naddy 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: .\"
1.18    ! jsg        33: .Dd $Mdocdate: March 31 2022 $
1.1       deraadt    34: .Dt NFSSTAT 1
1.6       aaron      35: .Os
1.1       deraadt    36: .Sh NAME
                     37: .Nm nfsstat
1.14      schwarze   38: .Nd display NFS statistics
1.1       deraadt    39: .Sh SYNOPSIS
                     40: .Nm nfsstat
1.12      tedu       41: .Op Fl cs
1.8       mickey     42: .Op Fl M Ar core
                     43: .Op Fl N Ar system
1.1       deraadt    44: .Op Fl w Ar wait
                     45: .Sh DESCRIPTION
1.6       aaron      46: .Nm
1.14      schwarze   47: displays statistics kept about NFS client and server activity.
1.11      jmc        48: If neither
1.9       mickey     49: .Fl M
                     50: nor
                     51: .Fl N
1.17      naddy      52: option was specified, statistics will be obtained from the running system
1.9       mickey     53: by calling
1.16      deraadt    54: .Xr sysctl 2 .
1.15      jmc        55: Otherwise the specified core and system will be used to fetch
1.9       mickey     56: data by means of
                     57: .Xr kvm 3 .
1.1       deraadt    58: .Pp
                     59: The options are as follows:
                     60: .Bl -tag -width Ds
1.12      tedu       61: .It Fl c
                     62: Display client statistics only.
1.8       mickey     63: .It Fl M Ar core
                     64: Extract values associated with the name list from the specified core
                     65: instead of the default
                     66: .Pa /dev/kmem .
                     67: .It Fl N Ar system
                     68: Extract the name list from the specified system instead of the default
                     69: .Pa /bsd .
1.12      tedu       70: .It Fl s
                     71: Display server statistics only.
1.5       aaron      72: .It Fl w Ar wait
1.14      schwarze   73: Display a shorter summary of NFS
1.1       deraadt    74: activity for both the client and server at
                     75: .Ar wait
                     76: second intervals.
1.9       mickey     77: .El
1.8       mickey     78: .Sh FILES
                     79: .Bl -tag -width /dev/kmem -compact
                     80: .It Pa /bsd
                     81: default kernel namelist
                     82: .It Pa /dev/kmem
                     83: default memory file
                     84: .El
1.1       deraadt    85: .Sh SEE ALSO
                     86: .Xr fstat 1 ,
                     87: .Xr netstat 1 ,
                     88: .Xr ps 1 ,
                     89: .Xr systat 1 ,
1.18    ! jsg        90: .Xr sysctl 2 ,
1.9       mickey     91: .Xr kvm 3 ,
1.1       deraadt    92: .Xr iostat 8 ,
                     93: .Xr pstat 8 ,
1.6       aaron      94: .Xr vmstat 8
1.1       deraadt    95: .Sh HISTORY
                     96: The
1.6       aaron      97: .Nm
1.5       aaron      98: command appeared in
1.1       deraadt    99: .Bx 4.4 .