Hi,

I have to write a perl program (Parent script) which does the below 4 tasks 
simultaneously:

1. Executing a perl script in one shell. (Parent script)
2. Invoking a thread performing some tasks periodically lets say once in 15 
min, and send a message when any task is completed, to parent shell.
2. Invoking a thread which is continuously checking the memory and cpu usage 
using "top" command and inform to parent script if it exceeds 50%.
3. Doing "ls -l" for a directory (containing 4 files) per minute and check if 
size of any file increases.
4. Invoking a "shell script" which has a execute in every 10 min and sending 
the result each time to file.

The parent script has to execute continuously for 12 hours.

Could you please tell me, how can i create this script ? Which concepts of Perl 
should I use for the above script? Please share with me the link, where can I 
get the tutorial/sample code of those concepts?

Appreciate your help.

Thanks & regards,
Vishal
                                          

Reply via email to