IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New nice / renice for GUI Win32 programs?
As mentioned [link|http://z.iwethey.org/forums/render/content/show?contentid=235644|earlier], I'm using a commercial program that's hogging the CPU on Windows 2000. I'd like to use something like nice or renice to limit its maximum CPU so that the system is more responsive to other tasks. Is there such a thing that works with Win32 GUI programs? Is there a way to use the Task Manager or some other administrative feature of Windows 2000 to control the resources that it's able to consume? The only thing I see is a Priority setting. E.g. when it's running at Normal priority, getting a directory listing in the File dialog in Excel takes about 1-2 seconds. Changing the Priority to Low makes the File dialog populate instantly, but other parts of the system are still sluggish (e.g. switching between tabs in FireFox).

Do I have any other options for controlling this piggy application?

Thanks.

Cheers,
Scott.
New System manager lets you reset prioriy of processes
Right click on the process and there is a set priority tab. You can do it programatically also but I don't know of a command line utility that does it. You might check out sysinternals [link|http://www.sysinternals.com/ProcessesAndThreadsUtilities.html|http://www.sysintern...adsUtilities.html]
New Thanks for the pointer. Nothing jumps out at me there though
New Re: nice / renice for GUI Win32 programs?
You can start an app at a specified priority using the start command (start /? for options)

You can use WMI and VBScript to modify the priority of a running program (among other things):

[link|http://www.activexperts.com/activmonitor/windowsmanagement/adminscripts/processes/|http://www.activexpe...cripts/processes/]
--
Chris Altmann
New Thank you Prof. Farnsworth. :-) Very helpful.
     nice / renice for GUI Win32 programs? - (Another Scott) - (4)
         System manager lets you reset prioriy of processes - (hnick) - (1)
             Thanks for the pointer. Nothing jumps out at me there though -NT - (Another Scott)
         Re: nice / renice for GUI Win32 programs? - (altmann) - (1)
             Thank you Prof. Farnsworth. :-) Very helpful. -NT - (Another Scott)

The early Romans had more gods than I have had watery stools.
56 ms