10-30-2009
[help] how to send wall/broadcast message to all clients
Hi,
as per title, please help me.. I use command wall host1 host2 hellowwwww
but it only receive in the host1..
how can I send this to all the clients.. I want this 1 server to send to all the clients.. or is there any program that I can use? I know this openfire, but seems complicated since it needs to connect to mysql etc...
my purpose for using this is just to tell all clients that I'm going to shutdown one of my server or I'm doing a maintenance.. etc... I'm using RHEL4..
Please help me..
thank you..
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear all,
How can I deny messaging which use "wall" command to send message out?
regards
Wilson (7 Replies)
Discussion started by: wilsonchan1000
7 Replies
2. UNIX for Dummies Questions & Answers
Hello: How would you send message to other unix users logged in into the system now.. what should i verify, before sending them a mail across that displays mesage on the terminal. Any man pages? Thanks, ST2000 (2 Replies)
Discussion started by: ST2000
2 Replies
3. UNIX for Advanced & Expert Users
Operating system sun solaris 5.8
My problem is :
crontab -e
15 16 * * * /bckscripts/oo
vi /bcscripts/oo = wall " stop backup "
the system at the 16:15 all day time doesn't display message " stop backup "
What's the problem ???
i'am root user the follow is the root dir... (2 Replies)
Discussion started by: tt155
2 Replies
4. UNIX for Dummies Questions & Answers
A long time ago, I frequently used a small X11 utility that allows you to manage multiple systems at the same time.
It worked by opening a small window that had a button you used to "Add" X Clients to it. These would be xterms on different systems for example.
You would then type inside that... (5 Replies)
Discussion started by: Alon.Albert
5 Replies
5. Programming
My problem definition is ,I have to send a message from one node in a network and it has to be broadcasted to all other nodes in the network.The program what I have given below will be running in all the nodes in the network.The same program should be capable of sending(broadcasting) and receiving.... (1 Reply)
Discussion started by: vigneshinbox
1 Replies
6. Programming
My problem definition is ,I have to send a message from one node in a network and it has to be broadcasted to all other nodes in the network.The program what I have given below will be running in all the nodes in the network.The same program should be capable of sending(broadcasting) and receiving.... (0 Replies)
Discussion started by: vigneshinbox
0 Replies
7. Shell Programming and Scripting
Hi All,
Can any1 help me out in broadcasting a message to all users if a condtion is meet.
Like I am trying to get values from a directory for service monitoring.
If a condition is meet it should broadcast the message.
I try to use wall command but i m not sure how its works as its... (1 Reply)
Discussion started by: jojo123
1 Replies
8. Solaris
we enabled windows firewall and noticed that one unix sun server (solaris 9 ) are broadcasting on UDP port 14000 continous. We are running Oracle Application on this server, so I'm not sure if there is some service doing this, or any idea how to trace .
Regards (1 Reply)
Discussion started by: maooah
1 Replies
9. Shell Programming and Scripting
Greetings,
I want to send broadcast udp from a script.
This works but is not broadcast:
echo -n "this is my message\r\n" | nc -u 192.168.0.12 5100
The broadcast version does not work:
echo -n "this is my message\r\n" | nc -u 192.168.0.255 5100
Suggestions on the right way to do this... (2 Replies)
Discussion started by: anotherstevest
2 Replies
wall(1M) System Administration Commands wall(1M)
NAME
wall - write to all users
SYNOPSIS
/usr/sbin/wall [-a] [-g grpname] [filename]
DESCRIPTION
wall reads its standard input until an end-of-file. It then sends this message to all currently logged-in users preceded by:
Broadcast Message from ...
If filename is given, then the message is read in from that file. Normally, pseudo-terminals that do not correspond to rlogin sessions are
ignored. Thus, when using a window system, the message appears only on the console window. However, -a will send the message even to such
pseudo-terminals.
It is used to warn all users, typically prior to shutting down the system.
The sender must be superuser to override any protections the users may have invoked See mesg(1).
wall runs setgid() to the group ID tty, in order to have write permissions on other user's terminals. See setuid(2).
wall will detect non-printable characters before sending them to the user's terminal. Control characters will appear as a " ^ " followed
by the appropriate ASCII character; characters with the high-order bit set will appear in "meta" notation. For example, ` 03' is dis-
played as `^C' and `372' as `M-z'.
OPTIONS
The following options are supported:
-a Broadcast message to the console and pseudo-terminals.
-g grpname Broadcast to the users in a specified group only, per the group database (see group(4)).
ENVIRONMENT VARIABLES
If the LC_* variables (LC_CTYPE, LC_TIME, LC_COLLATE, LC_NUMERIC, and LC_MONETARY) are not set in the environment, the operational behav-
ior of wall for each corresponding locale category is determined by the value of the LANG environment variable. See environ(5). If LC_ALL
is set, its contents are used to override both the LANG and the other LC_* variables. If none of the above variables are set in the envi-
ronment, the "C" (U.S. style) locale determines how wall behaves.
FILES
/dev/tty*
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
mesg(1), write(1), setuid(2), attributes(5), environ(5)
NOTES
wall displays ``Cannot send to ...'' when the open on a user's tty file fails.
SunOS 5.10 13 Jul 1994 wall(1M)