![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Linux Shell Question: how to print the shell script name ? | meili100 | UNIX for Dummies Questions & Answers | 3 | 07-01-2008 02:55 PM |
| Shell script question | jbou1087 | Shell Programming and Scripting | 2 | 05-06-2008 03:01 AM |
| shell script question | tselvanin | Shell Programming and Scripting | 2 | 08-28-2007 10:53 PM |
| A shell script question | surjyap | Shell Programming and Scripting | 2 | 11-24-2005 05:48 AM |
| build kernel ,question? | sheep | BSD | 2 | 03-27-2005 08:02 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
question to build a shell script
Hi
All, I want to develope a script. can you please give me solution to this script? Several Processes Reporting Status back to a Master Write two programs that communicate using message queues. One program (the master) will receive messages periodically sent by multiple copies of the other program (senders). The messages sent might simulate status or degree of completion of a sender. Upon receipt, the master should print the message with some identification of the sender. Prior to termination, each sender will send a delimiter message. After receiving delimiter messages from all the senders, the master will remove the message queue and exit. eg. assume the master's filename is msg_rpt_m $msg_rpt_m >From 14437: status mesg #1 >From 14438: status mesg #1 >From 14439: status mesg #1 >From 14437: status mesg #2 >From 14438: status mesg #2 >From 14439: status mesg #2 >From 14437: status mesg #3 >From 14438: status mesg #3 >From 14439: status mesg #3 >From 14437: status mesg #4 >From 14438: status mesg #4 >From 14439: status mesg #4 >From 14437: status mesg #5 >From 14438: status mesg #5 >From 14439: DONE >From 14437: DONE >From 14438: status mesg #6 >From 14438: DONE $ Thanks, Vishal |
|
||||
|
This looks very similar to script to develope
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|