rstat(3rpc) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

rstat(3rpc)

rstat(3RPC)                  RPC Library Functions                 rstat(3RPC)



NAME
       rstat, havedisk - get performance data from remote kernel

SYNOPSIS
       cc [ flag ... ] file ... -lrpcsvc [ library ... ]
       #include <rpc/rpc.h>
       #include <rpcsvc/rstat.h>

       enum clnt_stat rstat(char *host, struct statstime *statp);


       int havedisk(char *host);

PROTOCOL
       /usr/include/rpcsvc/rstat.x

DESCRIPTION
       These  routines require that the rpc.rstatd(8) daemon be configured and
       available on the remote system indicated by host. The rstat()  protocol
       is  used  to  gather  statistics from remote kernel. Statistics will be
       available on items such as paging, swapping, and cpu utilization.


       rstat() fills in the statstime structure statp  for  host.  statp  must
       point  to an allocated statstime structure. rstat() returns RPC_SUCCESS
       if it was successful; otherwise a enum clnt_stat is returned which  can
       be displayed using clnt_perrno(3C).


       havedisk() returns 1 if host has disk, 0 if it does not, and −1 if this
       cannot be determined.


       The following XDR routines are available in librpcsvc:

         xdr_statstime
         xdr_statsvar


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE VALUE _ MT-LevelMT-Safe


SEE ALSO
       rup(1), rpc_clnt_calls(3C), attributes(7), rpc.rstatd(8)



Oracle Solaris 11.4               30 Dec 1996                      rstat(3RPC)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3