Showing results for 
Search instead for 
Did you mean: 

loop question

Ragni Singh
Super Advisor

loop question

hello everyone, I'm trying to create some definitions in my alarmdef file for measureware and I need some assistance. I need to monitor about 35 processes but I don't want to add a loop for every single process. Is it possible to create a loop within a loop to do this. If so, how is it done? Your help is greatly appreciated and points will definitely be given.
Rich Wright
Trusted Contributor

Re: loop question

I do not think that you can create a loop within a loop. Here is a nice white paper that may help.

If you just want to verify that a process has not died, you would be better off to have a script that reads a source file with your list of processes to monitor.