rstat man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

RSTAT(3RPC)							   RSTAT(3RPC)

NAME
       rstat, havedisk - get performance data from remote kernel

SYNOPSIS
       cc [ flag ... ] file ... -lrpcsvc [ library ... ]
       #include <rpc/rpc.h>
       #include <rpcsvc/rstat.h>

       enum clnt_stat rstat(char *host, struct statstime *statp);

       int havedisk(char *host);

PROTOCOL
       /usr/include/rpcsvc/rstat.x

DESCRIPTION
       These routines require that the rpc.rstatd(1M) daemon be configured and
       available on the remote system indicated by host. The rstat()  protocol
       is  used	 to  gather statistics from remote kernel.  Statistics will be
       available on items such as paging, swapping, and cpu utilization.

       rstat() fills in the statstime structure statp for  host.   statp  must
       point to an allocated statstime structure.  rstat() returns RPC_SUCCESS
       if it was successful; otherwise a enum clnt_stat is returned which  can
       be displayed using clnt_perrno(3NSL).

       havedisk() returns 1 if host has disk, 0 if it does not, and −1 if this
       cannot be determined.

       The following XDR routines are available in librpcsvc:

	 xdr_statstime
	 xdr_statsvar

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌───────────────┬─────────────────┐
       │ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
       ├───────────────┼─────────────────┤
       │MT-Level       │ MT-Safe	 │
       └───────────────┴─────────────────┘

SEE ALSO
       rup(1), rpc.rstatd(1M), rpc_clnt_calls(3NSL), attributes(5)

				 Dec 30, 1996			   RSTAT(3RPC)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net