http://www.perlmonks.org?node_id=398420


in reply to Script priority

Yes, see setpriority.

Regards,

PN5

Replies are listed 'Best First'.
Re^2: Script priority
by Jasper (Chaplain) on Oct 12, 2004 at 11:05 UTC
    This may help me. I have a process that sometimes takes a while to run. If I setpriority on each iteration, can I reallocate the original resources?

    I'm not even sure that dwindling resources are the cause of my problem, but this is something to try out. Teach me to RTM.

      Please provide some sample code indicating what you are iterating over, where you were thinking of changing the priority and what sort of resources you wish to reallocate.

      Any additional information, such as where bottlenecks are (or appear to be) occurring would also be useful.

      Regards,

      PN5