Print this page
8112 EOF crazier RPC daemons
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man3rpc/rstat.3rpc.man.txt
+++ new/usr/src/man/man3rpc/rstat.3rpc.man.txt
1 1 RSTAT(3RPC) RPC Library Functions RSTAT(3RPC)
2 2
3 3
4 4
5 5 NAME
6 6 rstat, havedisk - get performance data from remote kernel
7 7
8 8 SYNOPSIS
9 9 cc [ flag ... ] file ... -lrpcsvc [ library ... ]
10 10 #include <rpc/rpc.h>
11 11 #include <rpcsvc/rstat.h>
12 12
13 13 enum clnt_stat rstat(char *host, struct statstime *statp);
14 14
15 15
16 16 int havedisk(char *host);
17 17
18 18
19 19 PROTOCOL
20 20 /usr/include/rpcsvc/rstat.x
21 21
22 22 DESCRIPTION
23 23 These routines require that the rpc.rstatd(1M) daemon be configured and
24 24 available on the remote system indicated by host. The rstat() protocol
25 25 is used to gather statistics from remote kernel. Statistics will be
26 26 available on items such as paging, swapping, and cpu utilization.
27 27
28 28
29 29 rstat() fills in the statstime structure statp for host. statp must
30 30 point to an allocated statstime structure. rstat() returns RPC_SUCCESS
31 31 if it was successful; otherwise a enum clnt_stat is returned which can
32 32 be displayed using clnt_perrno(3NSL).
33 33
34 34
35 35 havedisk() returns 1 if host has disk, 0 if it does not, and -1 if this
36 36 cannot be determined.
37 37
38 38
39 39 The following XDR routines are available in librpcsvc:
40 40
41 41 xdr_statstime
42 42 xdr_statsvar
43 43
44 44
45 45
46 46 ATTRIBUTES
47 47 See attributes(5) for descriptions of the following attributes:
48 48
↓ open down ↓ |
48 lines elided |
↑ open up ↑ |
49 49
50 50
51 51
52 52 +---------------+-----------------+
53 53 |ATTRIBUTE TYPE | ATTRIBUTE VALUE |
54 54 +---------------+-----------------+
55 55 |MT-Level | MT-Safe |
56 56 +---------------+-----------------+
57 57
58 58 SEE ALSO
59 - rup(1), rpc.rstatd(1M), rpc_clnt_calls(3NSL), attributes(5)
59 + rpc_clnt_calls(3NSL), attributes(5)
60 60
61 61
62 62
63 63 December 30, 1996 RSTAT(3RPC)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX