Go to main content

手册页部分 1:用户命令

退出打印视图

更新时间: 2022年7月27日 星期三
 
 

rup(1)

名称

rup - 显示远程计算机(RPC 版本)的主机状态

用法概要

rup [-hlt] [host]...

描述

rup gives a status similar to uptime(1) for remote machines.If no host arguments are specified, it broadcasts on the local network, and displays the responses it receives.

如果提供了 host 参数,则不会广播 rup,而只是查询指定主机列表。

通常情况下,列表按照收到响应的顺序排列,但是可通过指定以下所列选项中的一个来更改此顺序。

A remote host will only respond if it is running the rpc.rstatd(8) daemon, which is normally started up from inetd(8) under the service identifier svc:/network/rpc/rstat:default.This service is disabled by default on Solaris 10 systems with a secure by default configuration and on all Solaris 11 systems, and must be enabled by an administrator in order for a host to respond to rup queries.

If no name can be found for a host via the hosts(5) name service, rup displays a numeric IP address for the host.

选项

–h

按主机名的字母顺序对显示进行排序。

–l

按平均负荷值对显示进行排序。

–t

按运行时间对显示进行排序。

属性

有关下列属性的说明,请参见 attributes(7)

属性类型
属性值
可用性
network/legacy-remote-utilities
Interface Stability
Committed

另请参见

ruptime(1), attributes(7), inetd(8), rpc.rstatd(8)

附注

广播无法通过网关工作。

History

The rup command, including support for the options –h, –l, and –t, has been present since the initial release of Solaris.