Subject: rstat(3) library call, do we have this?
To: None <current-users@NetBSD.ORG>
From: Brian Buhrow <buhrow@cats.ucsc.edu>
List: current-users
Date: 02/18/1998 15:29:29
	Hello.  I'd like to run a program that uses the rstat(3) routines from
SunOS/Solaris and can't find them in my 1.2G distritution.  Are they in the
current edition?
-thanks
-Brian




     RRSSTTAATT((33RR))         UUNNIIXX SSyysstteemm VV ((66 OOccttoobbeerr 11998877))        RRSSTTAATT((33RR))



     NNAAMMEE
          rstat - get performance data from remote kernel

     PPRROOTTOOCCOOLL
          //uussrr//iinncclluuddee//rrppccssvvcc//rrssttaatt..xx

     DDEESSCCRRIIPPTTIIOONN
          The rrssttaatt(()) protocol is used to gather statistics from
          remote kernel.  Statistics are available on items such as
          paging, swapping and cpu utilization.

     PPRROOGGRRAAMMMMIINNGG
          ##iinncclluuddee <<rrppccssvvcc//rrssttaatt..hh>>

          hhaavveeddiisskk((hhoosstt))
          cchhaarr **hhoosstt;;

          rrssttaatt((hhoosstt,, ssttaattpp))
          cchhaarr **hhoosstt;;
          ssttrruucctt ssttaattssttiimmee **ssttaattpp;;

          hhaavveeddiisskk(()) returns 1 if _h_o_s_t has a disk, 0 if it does not,
          and -1 if this cannot be determined.  rrssttaatt(()) fills in the
          ssttaattssttiimmee structure for _h_o_s_t, and returns 0 if it was
          successful.

          The following XDR routines are available in lliibbrrppccssvvcc:
          xxddrr__ssttaattssttiimmee
          xxddrr__ssttaattsssswwttcchh
          xxddrr__ssttaattss

     SSEEEE AALLSSOO
          ppeerrffmmeetteerr(1), rruupp(1C), rrssttaattdd(8C)






















     Page 1                                          (printed 2/18/98)