Sponsored Content
Operating Systems Linux Red Hat [help] how to send wall/broadcast message to all clients Post 302366635 by flekzout on Friday 30th of October 2009 03:36:45 AM
Old 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

How can I deny messaging which use "wall" to send message out?

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

send message across terminals

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

Cron wall message problem

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

Looking for an X11 Utility - Send Keystrokes to Multiple Clients

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

How to broadcast a message across the network using Socket programming in C??

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

How to broadcast a message ?

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

How to broadcast the message if any condition meets

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

broadcast message from unix server

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

Nc won't send udp broadcast!?

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
xpans(1)							SAORD Documentation							  xpans(1)

NAME
xpans - the XPA Name Server SYNOPSIS
xpans [-h] [-e] [-k sec] [-p port] [-l log] [-s security log] [-P n] OPTIONS
-h print help message -e exit when there are no more XPA connections -k send keepalive messages every n sec -l log data base entries to specified file -p listen for connections on specified port -s log security info for each connection to specified file -P accept proxy requests (P=1) using separate thread (P=2) --version display version and exit DESCRIPTION
The xpans name server is an XPA-enabled program that is used to manage the names and ports of XPA access points. It is started automati- cally when an XPA access point is registered. You can access the name server using xpaget to get a list of registered access points. The xpans name server provides a crucial link between XPA clients and servers. When an XPA server defines an access point using XPANew(), XPACmdNew(), or XPAInfoNew(), the name of the access point is registered in the name service, along with connection information. The name server then matches class:name templates passed to it by XPA clients with these registered entries, so that the clients can communicate with the appropriate servers. The socket connection between an XPA-enabled program and xpans is kept open until the former exits (or explicitly closes the connection). Apparently, some Internet equipment (e.g. DSL modems) can cause such a connection to time-out after a period of inactivity. To prevent this from happening, you can use the -k [sec] switch to send a short keep-alive message to each open connection after the specified time delay. (Note that this application level use of keep-alive is necessary only if you are serving XPA-enabled clients over the Internet and have to deal with long-term connections involving DSL or similar equipment. XPA uses the ordinary socket-level keep-alive, which works for all other cases.) NB (12/2/2009): Out-of-band (URG) TCP data, used by xpans keep-alive, is changed by some Cisco routers into in-band data. Encountering such a router will break the keep-alive function and may break your XPA server as well. Proceed with caution! The xpans program will be started automatically (assuming it can be found in the user's path) when the first XPA access point is regis- tered. It therefore need not be started explicitly. However, when started automatically, the -e switch is used, so that the name server will exit when there are no more XPA access points registered. If you wish to keep the name server running continually, simply start it manually without the -e switch. The name server will keep a log of registered access points if the -l [log] switch is used on the command line (this is the case for auto- matic start-up). The log contains enough name and connection information to allow you to re-register all XPA access points in case the name server process is terminated prematurely. For example, after the ds9 access point is registered,the log will contain the entry: add 838e2f67:1863 ds9 ds9 gs eric If xpans is terminated but ds9 still is running, you can re-register both access points for the ds9 process by running: xpaset -p 838e2f67:1863 -nsconnect Notice that the ip:port specifier is used with xpaset to bypass the need for contacting the name server (which does not have the name reg- istered yet!) The name server will keep a log of security information if the -s [security log] switch is used on the command line. For each accepted connection, (including connections via the xpaget command), information will be logged about the host issuing the command and the parame- ters passed into the program. This is most useful when xpans is accepting connections from untrusted machines. When an XPA access point is removed by a server using XPAFree(), the access information is removed from the name server. If an XPA-enabled process is terminated, all names registered by that process will be removed automatically. The log file is always updated to reflect the currently registered access points. The name server itself has an XPA access point names xpans registered through which you can find out information about currently registered access points (assuming you have access to the name server; see XPA Access Control for more information). For each registered access point, the following information is returned: class # class of the access point name # name of the access point access # allowed access (g=xpaget,s=xpaset,i=xpainfo) id # socket access method (host:port for inet, file for local/unix) user # user name of access point owner For example, to display all currently registered access points, simply execute: xpaget xpans Continuing the example of ds9 above, this will return: DS9 ds9 gs 838e2f67:1863 eric If the same program has been started with different XPA access names, you can look up only names matching a specified template. For exam- ple, assume that ds9 has been started up using: ds9 & ds9 -title ds9-1-eric & ds9 -title ds9-2-eric & To lookup all ds9 access points which end in ".eric" and which can be accessed using xpaset, use: xpaget xpans "DS9:*.eric" "s" "*" This will return: DS9 ds9-2-eric gs 838e29d3:42102 eric DS9 ds9-1-eric gs 838e29d3:42105 eric The third argument "*" requests all access points from all users. You also can specify a specific user name and only access points regis- tered by that user will be returned. The name server uses the XPA_METHOD environment variable to determine whether it should listen for requests on INET or LOCAL sockets. Since XPA access points also use this environment variable, the choice of socket method will be consistent. Note that, when INET sockets are used, a local server can be accessed from remote machines if the XPA_NSINET environment variable is set to point to the local machine. See XPA Environment Variables for more information. An experimental feature of xpans is its ability to act as a proxy to XPA servers behind firewalls that want to communicate with external processes. The basic idea is the following: an XPA server (call it "foo") on host1, possibly behind a firewall, makes a remote connection to a proxy-enabled xpans program on host2 (specifying host2's XPA method). For example: xpaset -p foo -remote 'host2:28571' + -proxy # on host1 When this is done, host2 can use xpaset, xpaget, and xpainfo calls to communicate with the XPA server foo. All command communication is performed via the xpans socket connection between foo on host1 and xpans on host2 (which was initiated by foo from inside the firewall). Data communication is similarly performed using a socket connection initiated on host1 (usually with a port value two greater than the port value of the main xpans socket connection). An xpaset or xpaget call on host2 contacts xpans, which performs an XPASet() or XPAGet() call to foo, passing commands and data back and forth between the two programs. By default, proxy connections are not allowed by xpans. If the -P switch is specified with a value of 1, proxy connection are allowed, but all proxy communication is performed in the same thread as xpans processing. If a value of 2 is specified, the proxy processing is per- formed in a separate thread (assuming pthreads are supported on your system). Because xpa callback processing of any type can take a long time and therefore can interfere with normal xpans processing, threaded proxy connections (-P 2) are recommended. When using proxy con- nections, it might also be useful to set the XPA_IOCALLSXPA environment variable, so that multiple proxy requests can be handled at the same time, instead of serially. Note that this proxy interface to xpans is experimental. It is used to provide remote data analysis capabilities on the Chandra-Ed system using ds9. (See http://chandra-ed.cfa.harvard.edu and http://hea-www.harvard.edu/saord/ds9 for more details). As always, please contact us if you have problems or questions. SEE ALSO
See xpa(7) for a list of XPA help pages version 2.1.14 June 7, 2012 xpans(1)
All times are GMT -4. The time now is 11:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy