summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-04-18 20:46:23 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-04-18 20:46:23 +0000
commit70d53f080b384760b142af17a7c14d82a566c2f7 (patch)
tree3281883ca0902dfa173862d6050b2ea60f3a3182
parenta9bfb586032424b76acb8155f174ab2e4e35c965 (diff)
add a note about sysctl/kvm dualism nature
-rw-r--r--usr.bin/nfsstat/nfsstat.118
1 files changed, 15 insertions, 3 deletions
diff --git a/usr.bin/nfsstat/nfsstat.1 b/usr.bin/nfsstat/nfsstat.1
index ed6d6f332ef..63af96547a6 100644
--- a/usr.bin/nfsstat/nfsstat.1
+++ b/usr.bin/nfsstat/nfsstat.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nfsstat.1,v 1.8 2000/04/18 20:17:54 mickey Exp $
+.\" $OpenBSD: nfsstat.1,v 1.9 2000/04/18 20:46:22 mickey Exp $
.\" $NetBSD: nfsstat.1,v 1.8 1996/03/03 17:21:28 thorpej Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
@@ -54,6 +54,16 @@ statistics
displays statistics kept about
.Tn NFS
client and server activity.
+If niether
+.Fl M
+nor
+.Fl N
+option was specified statics will be obtained from the running system
+by calling
+.Xr sysctl 3
+routine. Otherwise specified core and system will be used to fetch
+data by means of
+.Xr kvm 3 .
.Pp
The options are as follows:
.Bl -tag -width Ds
@@ -73,6 +83,8 @@ second intervals.
.It Fl s
Display server statistics only.
.It Fl c
+Display client statistics only.
+.El
.Sh FILES
.Bl -tag -width /dev/kmem -compact
.It Pa /bsd
@@ -80,13 +92,13 @@ default kernel namelist
.It Pa /dev/kmem
default memory file
.El
-Display client statistics only.
-.El
.Sh SEE ALSO
.Xr fstat 1 ,
.Xr netstat 1 ,
.Xr ps 1 ,
.Xr systat 1 ,
+.Xr kvm 3 ,
+.Xr sysctl 3 ,
.Xr iostat 8 ,
.Xr pstat 8 ,
.Xr vmstat 8