rstat Subroutines

Purpose

Gets performance data from remote kernels.

Library

(librpcsvc.a)

Syntax

#include <rpcsvc/rstat.h>
rstat (host, statp) 
char *host;
struct statstime *statp;

Description

The rstat subroutine gathers statistics from remote kernels. These statistics are available on items such as paging, swapping and CPU utilization.

Parameters

Item Description
host Specifies the name of the machine going to be contacted to obtain statistics found in the statp parameter.
statp Contains statistics from host.

Return Values

If successful, the rstat subroutine fills in the statstime for host and returns a value of 0.

Files

Item Description
/usr/include/rpcsvc/rstat.x