How to broadcast the message if any condition meets


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to broadcast the message if any condition meets
# 1  
Old 11-09-2009
MySQL 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 giving me this error

HTML Code:
wall: Cannot open "/dev/lft0".  The file access permissions do not allow the specified action..
Please advice
# 2  
Old 11-09-2009
Who are you when you execute your script?
What OS?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. War Stories

Data Centre meets Vacuum Cleaner

Hi Folks, I have just spent a couple of days resolving some problems at the remote DR data centre, sorting out the problems caused by the over zealous use of a Vacuum cleaner of all things. We have a backup server a SUN V480R with a Storedge 3510 and expansion attached which suffered a... (6 Replies)
Discussion started by: gull04
6 Replies

2. UNIX for Dummies Questions & Answers

Remove when substring meets condition

Hi Masters, I need to remove lines when date format is below certain date My file input 20140906|ALASKA|USASEL|TARPUNG|2014-03-01|82176614040|20|1 20140906|ALASKA|USATENG|CRUIEX|2014-08-01|81267079997|5|0 20140906|ALASKA|USASEL|CRUIEMBANG|2013-10-01|82280779814|9|0... (4 Replies)
Discussion started by: radius
4 Replies

3. Shell Programming and Scripting

Need to delete all lines where any line meets a condition

Here is an example of a file... foo1,good foo1,good foo2,error foo2,good Note that both rows for foo1 have good in the 2nd field, but one of the foo2 rows has error... I need something in ksh/awk/perl that will delete ALL foo2 lines if ANY of them have error in the 2nd field...so: ... (7 Replies)
Discussion started by: dbiggied
7 Replies

4. 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

5. Red Hat

[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... (5 Replies)
Discussion started by: flekzout
5 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. 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

8. Virtualization and Cloud Computing

Facebook Meets the Virtualized Enterprise

HPL-2008-72 Facebook Meets the Virtualized Enterprise - Curry, Roger; Kiddie, Cameron; Markatchev, Nayden; Simmonds, Rob; Tan, Tingxi; Arlitt, Martin; Walker, Bruce Keyword(s): social networking, Web 2.0, cloud computing Abstract: "Web 2.0" and "cloud computing" are revolutionizing the... (0 Replies)
Discussion started by: Linux Bot
0 Replies

9. UNIX for Dummies Questions & Answers

FTP client that meets these requirements?

Hi All, Does anyone knows an FTP client that meet these basic requirements? -Runs in the console therefore not a gui based but a command line based like the normal ftp program. -auto detects ascii / binary format files. -runs in linux. -free and opensource. Filezilla should be fine but... (3 Replies)
Discussion started by: 3rr0r_3rr0r
3 Replies
Login or Register to Ask a Question