Link to home
Start Free TrialLog in
Avatar of JimmyBoy79
JimmyBoy79

asked on

Adjusting priority of services

Are there provisions in Windows 2000 pro (sp3) to adjust the priorities that services are started with?

Among others, I would like Apache to start with a below-normal priority, because i don't want my webserver to impede in any way on the other operations of my server.

This server boots and sits at a logon prompt and typically isn't used as a workstation, which is why priorities needs to be adjusted the way I want automatically.

Thanks in advance.

James
Avatar of Netman66
Netman66
Flag of Canada image

Sure is.

If Apache is setup as a service, open Task Manager, select the Process tab, right-click the service, choose Set Priority and select the Priority you want.

Is that what you're looking for??

Cheers,


Avatar of JimmyBoy79
JimmyBoy79

ASKER


No.

Even if this were acceptable Apache doesn't allow for it's priority to be changed while it's running.

But the key here is that I DON'T want to have to LOG IN and modify settings every time I turn it on. I want to boot and sit at a logon prompt with all these priorities adjusted automatically.

For that matter, how can I start ANY program with a default "LOW" priority?

Thanks
James
----
For that matter, how can I start ANY program with a default "LOW" priority?
----

create a batchfile with following content:
start /low c:\programm\programm.exe



run start /? at the command prompt to see all available parameters.


greets
bonzai

No.

Even if this were acceptable Apache doesn't allow for it's priority to be changed while it's running.

But the key here is that I DON'T want to have to LOG IN and modify settings every time I turn it on. I want to boot and sit at a logon prompt with all these priorities adjusted automatically.

For that matter, how can I start ANY program with a default "LOW" priority?

Thanks
James
Cool!

start /realtime notepad is useful :)

But then, tell me why this gives me a command prompt ?

start /abovenormal "C:\Program Files\Windows Media Player\wmplayer.exe"

:p

James
--------
But then, tell me why this gives me a command prompt
--------

not sure about that, but since the execution of the command is:

START ["title"] [/Dpath] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
      [/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
      [/WAIT] [/B] [command/program]
      [parameters]

i think, your path is interpreted as a "title".

Try

start /D"C:\Program Files\Windows Media Player" /abovenormal wmplayer.exe

Ok I will experiment some more with this.

But the initial problem with adjusting the services still remains.

:-/

James
This question is still open and getting old. If any of the comment(s) above helped you please accept it as an answer or split the points who ever helped you in this question. Your attention in finalising this question is very much appreciated. Thanks in advance,

****** PLEASE DO NOT ACCEPT THIS AS AN ANSWER ********

- If you would like to close this question and have your points refunded, please post a question in community support area on https://www.experts-exchange.com/Community_Support/ giving the address of this question. Thank you      

Pasha

Cleanup Volunteer


ASKER CERTIFIED SOLUTION
Avatar of PashaMod
PashaMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial