unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (SunOS-4.1.3)
Page:
Section:
Apropos / Subsearch:
optional field

RSTAT(3R)                                                            RSTAT(3R)



NAME
       rstat - get performance data from remote kernel

PROTOCOL
       /usr/include/rpcsvc/rstat.x

DESCRIPTION
       The  rstat()  protocol is used to gather statistics from remote kernel.
       Statistics are available on items such as paging, swapping and cpu uti-
       lization.

PROGRAMMING
       #include <&lt;rpcsvc/rstat.h>&gt;

       havedisk(host)
       char *host;

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

       havedisk()  returns  1  if host has a disk, 0 if it does not, and -1 if
       this cannot be determined.  rstat() fills in  the  statstime  structure
       for host, and returns 0 if it was successful.

       The following XDR routines are available in librpcsvc:
       xdr_statstime
       xdr_statsswtch
       xdr_stats

SEE ALSO
       perfmeter(1), rup(1C), rstatd(8C)



                                6 October 1987                       RSTAT(3R)