9.0;send_alarm, revision 9.0, 85/02/15
SEND_ALARM -- Send messages to alarm servers.
usage: SEND_ALARM string ... {[-NODE node_spec ...] [-DISKLESS node_spec ...]
[-USER login_name ...]
[-DIN node_spec ...] [-ME] [-MYNODE]
[-MYDISKLESS] [-MYDIN] [-ALLNODE]} [-L]
FORMAT
SEND_ALARM string ... {[target_option ... ]} [-L]
SEND_ALARM transmits one-line messages that ALARM_SERVER can display. You can
direct messages to
- a particular user, specified by the name used for login,
- the user on a particular node, specified by the node's entry
directory or node ID,
- the users on all of the diskless nodes that have a particular paging
partner,
- or combinations of these categories of users.
You must always specify at least one user to receive the message, but you may
use any of these techniques for choosing users.
Messages are not stored and message delivery is not guaranteed. If the
intended recipient is not running an alarm server when the message is sent, or
if other problems arise, the message is never delivered. SEND_ALARM notifies
you when messages can not be delivered.
ARGUMENTS
string ...
(required) Specify the message you want to send. Multiple strings are
permitted, separated by blanks. If several strings are
present, they are concatenated with intervening spaces to
form the message.
OPTIONS
-L List the target nodes or users as the messages are sent.
At least one of the following target options must be specified.
-U[SER] login_name ...
Specify one or more users to whom the message should be
sent. If you use this option more than once, the several
lists of users are concatentated. Every user on the
concatenated list receives the message.
If a user is logged on several nodes at the same time, and
has alarm servers running at each of those login sessions,
only one of the alarm servers will be able to receive the
messages.
-N[ODE] node_spec ...
Transmit the message to whatever user is logged in on the
specified node, if any. See HELP NODE_SPEC for details
about node specification syntax. Multiple node spec's are
permitted; separate them with blanks. If you use this
option more than once, the several lists of nodes are
concatentated. Every user on a node on the concatenated
list receives the message.
If several users are logged in on one node simultaneously
and are running alarm servers, only one user is able to
receive messages directed to that node.
-DI[SKLESS] node_spec ...
Transmit the message to whatever user is logged in on any
diskless node whose host node is specified by 'node_spec',
as in the -NODE option. Multiple node spec's are
permitted. If you use this option more than once, the
several lists of nodes are concatentated. Note that this
option does not send a message to the user on the paging
partner. See -DIN below.
-DIN node_spec ...
This option allows you to send a message to a disked node
and all of its diskless partners. This is the same as
specifying "-NODE node_spec ... -DISKLESS node_spec ... ".
-ME or -MYU[SER]
Adds you to the list of users to receive the messages.
-MYN[ODE] Adds the node at which the command is entered to the list
of target nodes.
-MYDI[SKLESS]
Same as "-DISKLESS node_spec", where 'node_spec' is the
node at which the SEND_ALARM command was entered.
-MYDIN Same as "-MYNODE -MYDISKLESS".
-ALLN[ODE] Send the message to every node seen by an LCNODE.
EXAMPLES
$ SEND_ALARM 'Meeting is cancelled' -USER joe_k sue_b john_f mary_g
$ SEND_ALARM Please log out. Node AAD going down. -DIN 0aad
$ SEND_ALARM Compilation completed -ME
$ SEND_ALARM Power going off at 17:30 tonight -ALLNODE -L
$ SEND_ALARM 'Loop 13 is being switched out' *loop13
Note: In this example, "loop13" is a file in the working
directory containing further input for the SEND_ALARM
command line. It might, for example, contain the text:
-N //dirtball //thorazine
-N //top 317F
-U network_manager
-MYDIN
RELATED TOPICS
More information is available. Type:
- HELP ALARM_SERVER
for details about setting up the alarm server to receive messages and for
restrictions on the message facility.