[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions , Volume 2


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


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.

Implementation Specifics

These subroutines are part of the Base Operating System (BOS) Runtime.

Files


/usr/include/rpcsvc/rstat.x  

Related Information

The rup command.

The rstatd daemon


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]