Print this page
8112 EOF crazier RPC daemons

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3rpc/rstat.3rpc
          +++ new/usr/src/man/man3rpc/rstat.3rpc
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  
  16   16  \fBenum clnt_stat\fR \fBrstat\fR(\fBchar *\fR\fIhost\fR, \fBstruct statstime *\fR\fIstatp\fR);
  17   17  .fi
  18   18  
  19   19  .LP
  20   20  .nf
  21   21  \fBint\fR \fBhavedisk\fR(\fBchar *\fR\fIhost\fR);
  22   22  .fi
  23   23  
  24   24  .SH PROTOCOL
  25      -.sp
  26   25  .LP
  27   26  \fB/usr/include/rpcsvc/rstat.x\fR
  28   27  .SH DESCRIPTION
  29      -.sp
  30   28  .LP
  31   29  These routines require that the \fBrpc.rstatd\fR(1M) daemon be configured and
  32   30  available on the remote system indicated by \fIhost\fR. The \fBrstat()\fR
  33   31  protocol is used to gather statistics from remote kernel.  Statistics will be
  34   32  available on items such as paging, swapping, and cpu utilization.
  35   33  .sp
  36   34  .LP
  37   35  \fBrstat()\fR fills in the \fBstatstime\fR structure \fIstatp\fR for
  38   36  \fIhost\fR.  \fIstatp\fR must point to an allocated \fBstatstime\fR structure.
  39   37  \fBrstat()\fR returns \fBRPC_SUCCESS\fR if it was successful; otherwise a
↓ open down ↓ 9 lines elided ↑ open up ↑
  49   47  .sp
  50   48  .in +2
  51   49  .nf
  52   50  xdr_statstime
  53   51  xdr_statsvar
  54   52  .fi
  55   53  .in -2
  56   54  .sp
  57   55  
  58   56  .SH ATTRIBUTES
  59      -.sp
  60   57  .LP
  61   58  See \fBattributes\fR(5) for descriptions of the following attributes:
  62   59  .sp
  63   60  
  64   61  .sp
  65   62  .TS
  66   63  box;
  67   64  c | c
  68   65  l | l .
  69   66  ATTRIBUTE TYPE  ATTRIBUTE VALUE
  70   67  _
  71   68  MT-Level        MT-Safe
  72   69  .TE
  73   70  
  74   71  .SH SEE ALSO
  75      -.sp
  76   72  .LP
  77      -\fBrup\fR(1), \fBrpc.rstatd\fR(1M), \fBrpc_clnt_calls\fR(3NSL),
  78      -\fBattributes\fR(5)
       73 +\fBrpc_clnt_calls\fR(3NSL), \fBattributes\fR(5)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX