Do not run mandoc for lintmanpages if MANPAGES is empty.
[netbsd-mini2440.git] / libexec / rpc.rstatd / rpc.rstatd.8
blob243e7624460ea68658b60316e2b99f7b21ab05aa
1 .\"     $NetBSD: rpc.rstatd.8,v 1.12 2002/09/29 14:05:54 wiz Exp $
2 .\"
3 .\" Copyright (c) 1985, 1991 The Regents of the University of California.
4 .\" All rights reserved.
5 .\"
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
8 .\" are met:
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\"    notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\"    notice, this list of conditions and the following disclaimer in the
13 .\"    documentation and/or other materials provided with the distribution.
14 .\" 3. Neither the name of the University nor the names of its contributors
15 .\"    may be used to endorse or promote products derived from this software
16 .\"    without specific prior written permission.
17 .\"
18 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 .\" SUCH DAMAGE.
29 .\"
30 .Dd June 7, 1993
31 .Dt RPC.RSTATD 8
32 .Os
33 .Sh NAME
34 .Nm rpc.rstatd ,
35 .Nm rstatd
36 .Nd kernel statistics server
37 .Sh SYNOPSIS
38 .Nm /usr/libexec/rpc.rstatd
39 .Op Ar interval
40 .Sh DESCRIPTION
41 .Nm
42 is a server which returns performance statistics obtained from the kernel.
43 These statistics are read using the
44 .Xr rup 1
45 command.
46 The
47 .Nm
48 daemon is normally invoked by
49 .Xr inetd 8 .
50 .Pp
51 The
52 .Ar interval
53 argument specifies the number of seconds that
54 .Nm
55 should stay active, updating its internal statistics every second.
56 If no value is specified, 20 seconds will be used.
57 After
58 .Ar interval
59 seconds with no new RPC requests,
61 .Nm
62 was invoked from
63 .Xr inetd 8 ,
64 .Nm
65 exits.
66 Otherwise,
67 .Nm
68 loops, becoming dormant until it receives a new RPC
69 request, and staying active until
70 .Ar interval
71 seconds pass with no new requests.
72 .Pp
73 .Nm
74 uses an RPC protocol defined in
75 .Pa /usr/include/rpcsvc/rstat.x .
76 .Sh SEE ALSO
77 .Xr rup 1 ,
78 .Xr inetd 8