Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ havedisk(3R) — bsd — mips UMIPS RISC/os 5.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

statd(1M)



RSTAT(3R-BSD)       RISC/os Reference Manual        RSTAT(3R-BSD)



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 utilization.

PROGRAMMING
     For -systype svr3 and -systype bsd43:

     #include <rpcsvc/rstat.h>

     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 suc-
     cessful.

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

SEE ALSO
     statd(1M) in the System Administrator's Reference Manual.

ORIGIN
     Sun Microsystems

NOTE
     These routines are not resolved by libc.a.  See intro(3R)
     for more information.













                        Printed 11/19/92                   Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026