Gets performance data from remote kernels.
(librpcsvc.a)
#include <rpcsvc/rstat.h>
rstat (host, statp)
char *host;
struct statstime *statp;
The rstat subroutine gathers statistics from remote kernels. These statistics are available on items such as paging, swapping and CPU utilization.
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. |
If successful, the rstat subroutine fills in the statstime for host and returns a value of 0.
Item | Description |
---|---|
/usr/include/rpcsvc/rstat.x |