Managing Windows processes 2004-06-09 - By Bernard Lebel
Back Thanks a lot Sebastian.
Yes, I'm looking for a Windows solution.
That said, do you know if you can lower the priority of an existing thread?
Thanks Bernard
-- -- Original Message -- -- From: "Sebastian Faber" <sebastian.faber@(protected)> To: <XSI@(protected)> Sent: Wednesday, June 09, 2004 1:49 PM Subject: RE: [OT] Managing Windows processes
> You can simply use the DOS-command "start" to excecute xsibatch. With > "start" you can define the priority for xsibatch. The command in your > xsibatch.bat would be something like that: > > start /low d:\Softimage\XSI_3.5.1\Application\bin\xsibatch.exe %1 %2 %3 %4 > %5 %6 %7 %8 %9 > > you have different priorities like low, normal, high, realtime, abovenormal, > and belownormal > > do you have windows running? - with linux is it very easy too. > > > sebastian > > > > > > -- --Original Message-- -- > From: owner-xsi@(protected) [mailto:owner-xsi@(protected)]On Behalf > Of Aloys Baillet > Sent: Wednesday, June 09, 2004 12:17 PM > To: XSI@(protected) > Subject: Re: [OT] Managing Windows processes > > > Hello Bernard, > > For our custom render manager, I use Python to execute a .bat file. With > pywin32 I take the process handle and I use it to set the priority > lower. And it works fine! > For that I used a python script given in the pywin32 demo directory > called winprocess.py. > If you need more info, don't hesitate! > Good luck! > > -- > Aloys Baillet - R&D @ La Maison > -- > > > > Bernard Lebel wrote: > > >Hello, > > > >I have a rather BIG problem. My renderfarm client resources are so taken by > >the rendering that they generate problem with the workgroup server. > >Basically they don't answer properly to the server because their cpu is > >through the roof all the time, and at one point this crashes the server. > >Once the server is crashed, no more commands, toolbars, and most of all, > >shaders. > > > >So my question goes like this: although you can manage the processes > >manually to change the process priorities, is there a way to set permanent > >rules on these processes? For example, if I want to give XSIBatch a low > >priority all the time, how can I do that? > > > >Any suggestion extremely welcomed. > > > > > >Thanks > >Bernard > >--- > >Unsubscribe? Mail Majordomo@(protected) with the following text in body: > >unsubscribe xsi > > > > > > > > > --- > Unsubscribe? Mail Majordomo@(protected) with the following text in body: > unsubscribe xsi > > --- > Unsubscribe? Mail Majordomo@(protected) with the following text in body: > unsubscribe xsi > --- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|