2002-01-15 05:26:48 +03:00
|
|
|
.\" $NetBSD: rpc.rstatd.8,v 1.11 2002/01/15 02:26:48 wiz Exp $
|
1993-08-02 21:48:44 +04:00
|
|
|
.\"
|
1993-06-08 05:18:52 +04:00
|
|
|
.\" Copyright (c) 1985, 1991 The Regents of the University of California.
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
.\" This product includes software developed by the University of
|
|
|
|
.\" California, Berkeley and its contributors.
|
|
|
|
.\" 4. Neither the name of the University nor the names of its contributors
|
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
|
|
|
.Dd June 7, 1993
|
|
|
|
.Dt RPC.RSTATD 8
|
1999-03-22 21:25:43 +03:00
|
|
|
.Os
|
1993-06-08 05:18:52 +04:00
|
|
|
.Sh NAME
|
1997-10-20 06:46:44 +04:00
|
|
|
.Nm rpc.rstatd ,
|
|
|
|
.Nm rstatd
|
1993-08-16 19:57:47 +04:00
|
|
|
.Nd kernel statistics server
|
1993-06-08 05:18:52 +04:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm /usr/libexec/rpc.rstatd
|
1999-03-25 04:56:13 +03:00
|
|
|
.Op Ar interval
|
1993-06-08 05:18:52 +04:00
|
|
|
.Sh DESCRIPTION
|
1997-10-20 06:46:44 +04:00
|
|
|
.Nm
|
1993-08-16 19:57:47 +04:00
|
|
|
is a server which returns performance statistics obtained from the kernel.
|
2002-01-15 05:26:48 +03:00
|
|
|
These statistics are read using the
|
1993-08-16 19:57:47 +04:00
|
|
|
.Xr rup 1
|
1993-06-03 23:26:09 +04:00
|
|
|
command.
|
|
|
|
The
|
1997-10-20 06:46:44 +04:00
|
|
|
.Nm
|
1993-08-16 19:57:47 +04:00
|
|
|
daemon is normally invoked by
|
|
|
|
.Xr inetd 8 .
|
1999-03-25 04:56:13 +03:00
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Ar interval
|
|
|
|
argument specifies the number of seconds that
|
|
|
|
.Nm
|
|
|
|
should stay active, updating its internal statistics every
|
2002-01-15 05:26:48 +03:00
|
|
|
second. If no value is specified, 20 seconds will be used. After
|
1999-03-25 04:56:13 +03:00
|
|
|
.Ar interval
|
2002-01-15 05:26:48 +03:00
|
|
|
seconds with no new RPC requests,
|
1999-03-25 04:56:13 +03:00
|
|
|
if
|
|
|
|
.Nm
|
2002-01-15 05:26:48 +03:00
|
|
|
was invoked from
|
1999-03-25 04:56:13 +03:00
|
|
|
.Xr inetd 8 ,
|
|
|
|
.Nm
|
2002-01-15 05:26:48 +03:00
|
|
|
exits. Otherwise,
|
1999-03-25 04:56:13 +03:00
|
|
|
.Nm
|
|
|
|
loops, becoming dormant until it receives a new RPC
|
|
|
|
request, and staying active until
|
|
|
|
.Ar interval
|
|
|
|
seconds pass with no new requests.
|
1993-06-08 05:18:52 +04:00
|
|
|
.Pp
|
1997-10-20 06:46:44 +04:00
|
|
|
.Nm
|
2002-01-15 05:26:48 +03:00
|
|
|
uses an RPC protocol defined in
|
1993-08-16 20:04:53 +04:00
|
|
|
.Pa /usr/include/rpcsvc/rstat.x .
|
1993-06-08 05:18:52 +04:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr rup 1 ,
|
|
|
|
.Xr inetd 8
|