1846190 Members
2431 Online
110254 Solutions
New Discussion

Re: 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.
1 REPLY 1
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.

http://www.openview.hp.com/library/papers/Papers_HTML-6.asp

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.