Go to main content

手册页部分 8:系统管理命令

退出打印视图

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

rwall(8)

名称

rwall - write to all users over a network

用法概要

/usr/sbin/rwall hostname...
/usr/sbin/rwall -n netgroup...
/usr/sbin/rwall -h hostname -n netgroup

描述

rwall reads a message from standard input until EOF. It then sends this message, preceded by the line:

Broadcast Message . . .

to all users logged in on the specified host machines. With the –n option, it sends to the specified network groups.

A remote host will only receive the message if it is running the rpc.rwalld(8) daemon, which may be started up from inetd(8) under the service identifier svc:/network/rpc/wall:default. This service is disabled by default on Solaris 10 and later systems, and must be enabled by an administrator in order for a host to receive rwall messages.

选项

–n netgroup

Send the broadcast message to the specified network groups.

–h hostname

Send the broadcast message to the specified host machine.

属性

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
network/legacy-remote-utilities
Interface Stability
Committed

另请参见

attributes(7), inetd(8), rpc.rwalld(8), wall(8)

附注

The timeout is fairly short to allow transmission to a large group of machines (some of which may be down) in a reasonable amount of time. Thus the message may not get through to a heavily loaded machine.

History

The rwall command has been present since the initial release of Solaris.