[ Bottom of Page | Previous Page | Next Page | 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.

Files

/usr/include/rpcsvc/rstat.x  

Related Information

The rup command.

The rstatd daemon

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