summaryrefslogtreecommitdiff
path: root/libexec/rpc.rstatd
diff options
context:
space:
mode:
authorbgrayson <bgrayson@NetBSD.org>1999-03-25 01:56:13 +0000
committerbgrayson <bgrayson@NetBSD.org>1999-03-25 01:56:13 +0000
commit3db12eddbccd4119fe5f6836596020ab25aa14f4 (patch)
treef412ad11a0e852c4ffaa1d3c7c81524d5e43c6d8 /libexec/rpc.rstatd
parent03ca5d05cf0c42850144539dc779cdfed09306d7 (diff)
Added description of argv[1] value interval (rpc.rstatd doesn\'t use getopt)
Diffstat (limited to 'libexec/rpc.rstatd')
-rw-r--r--libexec/rpc.rstatd/rpc.rstatd.824
1 files changed, 23 insertions, 1 deletions
diff --git a/libexec/rpc.rstatd/rpc.rstatd.8 b/libexec/rpc.rstatd/rpc.rstatd.8
index f32c298362a..bc4a6de01de 100644
--- a/libexec/rpc.rstatd/rpc.rstatd.8
+++ b/libexec/rpc.rstatd/rpc.rstatd.8
@@ -1,4 +1,4 @@
-.\" $NetBSD: rpc.rstatd.8,v 1.9 1999/03/22 18:25:47 garbled Exp $
+.\" $NetBSD: rpc.rstatd.8,v 1.10 1999/03/25 01:56:13 bgrayson Exp $
.\"
.\" Copyright (c) 1985, 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -40,6 +40,7 @@
.Nd kernel statistics server
.Sh SYNOPSIS
.Nm /usr/libexec/rpc.rstatd
+.Op Ar interval
.Sh DESCRIPTION
.Nm
is a server which returns performance statistics obtained from the kernel.
@@ -51,6 +52,27 @@ The
daemon is normally invoked by
.Xr inetd 8 .
.Pp
+The
+.Ar interval
+argument specifies the number of seconds that
+.Nm
+should stay active, updating its internal statistics every
+second. If no value is specified, 20 seconds will be used. After
+.Ar interval
+seconds with no new RPC requests,
+if
+.Nm
+was invoked from
+.Xr inetd 8 ,
+.Nm
+exits. Otherwise,
+.Nm
+loops, becoming dormant until it receives a new RPC
+request, and staying active until
+.Ar interval
+seconds pass with no new requests.
+
+.Pp
.Nm
uses an RPC protocol defined in
.Pa /usr/include/rpcsvc/rstat.x .