Thanks for the replies. Based on new experience I can now refine my question
a bit. I've got the basic functionality working but there is a problem I
need to resolve.

I have a Unidata Basic program (called MESSAGE_LOOP) that needs to
constantly check for messages deposited into a particular directory. It is
an endless loop that checks for messages, processes any it finds, sleeps for
a second, then does it again. I need to start this process up and leave it
running forever. I found the nohup command on Tru64 that executes a script
with the following line.

udt PHANTOM MESSAGE_LOOP &

Works fine for starting up the job. The problem is that the job now gobbles
up 80% of the CPU. How can I reduce this process's hunger for CPU so that it
can share nicely with others? Should I set the priority lower or should I
increase the sleep time inside the program?


Dana Baron
System Manager
Smugglers' Notch Resort



-------
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users

Reply via email to