rstat(3R) DG/UX R4.11MU05 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 a remote
kernel. Statistics are available on items such as paging, swapping
and cpu utilization.
PROGRAMMING
#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 successful.
The following XDR routines are available in librpcsvc:
xdrstatstime
xdrstatsswtch
xdrstats
SEE ALSO
rup(1C), rstatd(1M), xdr(3N).
Licensed material--property of copyright holder(s)