.\" $FreeBSD: src/lib/libc/rpc/rstat.1,v 1.5 1999/08/28 00:00:46 peter Exp $
|
.\" $FreeBSD: src/lib/libc/rpc/rstat.1,v 1.5 1999/08/28 00:00:46 peter Exp $
|
.\" @(#)rstat.1 2.1 88/08/03 4.0 RPCSRC
|
.\" @(#)rstat.1 2.1 88/08/03 4.0 RPCSRC
|
.TH RSTAT 1 "3 August 1988"
|
.TH RSTAT 1 "3 August 1988"
|
.SH NAME
|
.SH NAME
|
rstat \- remote status display
|
rstat \- remote status display
|
.SH SYNOPSIS
|
.SH SYNOPSIS
|
.B rstat
|
.B rstat
|
.B host
|
.B host
|
.SH DESCRIPTION
|
.SH DESCRIPTION
|
.LP
|
.LP
|
.B rstat
|
.B rstat
|
displays a summary of the current system status of a particular
|
displays a summary of the current system status of a particular
|
.BR host .
|
.BR host .
|
The output shows the current time of day, how long the system has
|
The output shows the current time of day, how long the system has
|
been up,
|
been up,
|
and the load averages.
|
and the load averages.
|
The load average numbers give the number of jobs in the run queue
|
The load average numbers give the number of jobs in the run queue
|
averaged over 1, 5 and 15 minutes.
|
averaged over 1, 5 and 15 minutes.
|
.PP
|
.PP
|
The
|
The
|
.B rstat_svc(8)
|
.B rstat_svc(8)
|
daemon must be running on the remote host for this command to
|
daemon must be running on the remote host for this command to
|
work.
|
work.
|
.B rstat
|
.B rstat
|
uses an RPC protocol defined in /usr/include/rpcsvc/rstat.x.
|
uses an RPC protocol defined in /usr/include/rpcsvc/rstat.x.
|
.SH EXAMPLE
|
.SH EXAMPLE
|
.RS
|
.RS
|
.ft B
|
.ft B
|
.nf
|
.nf
|
example% rstat otherhost
|
example% rstat otherhost
|
7:36am up 6 days, 16:45, load average: 0.20, 0.23, 0.18
|
7:36am up 6 days, 16:45, load average: 0.20, 0.23, 0.18
|
example%
|
example%
|
.ft R
|
.ft R
|
.fi
|
.fi
|
.RE
|
.RE
|
.SH DIAGNOSTICS
|
.SH DIAGNOSTICS
|
.LP
|
.LP
|
rstat: RPC: Program not registered
|
rstat: RPC: Program not registered
|
.IP
|
.IP
|
The
|
The
|
.B rstat_svc
|
.B rstat_svc
|
daemon has not been started on the remote host.
|
daemon has not been started on the remote host.
|
.LP
|
.LP
|
rstat: RPC: Timed out
|
rstat: RPC: Timed out
|
.IP
|
.IP
|
A communication error occurred. Either the network is
|
A communication error occurred. Either the network is
|
excessively congested, or the
|
excessively congested, or the
|
.B rstat_svc
|
.B rstat_svc
|
daemon has terminated on the remote host.
|
daemon has terminated on the remote host.
|
.LP
|
.LP
|
rstat: RPC: Port mapper failure - RPC: Timed out
|
rstat: RPC: Port mapper failure - RPC: Timed out
|
.IP
|
.IP
|
The remote host is not running the portmapper (see
|
The remote host is not running the portmapper (see
|
.BR portmap(8) ),
|
.BR portmap(8) ),
|
and cannot accommodate any RPC-based services. The host may be down.
|
and cannot accommodate any RPC-based services. The host may be down.
|
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
.BR portmap (8),
|
.BR portmap (8),
|
.BR rstat_svc (8)
|
.BR rstat_svc (8)
|
|
|