• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 192
  • Last Modified:

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
0
JimmyBoy79
Asked:
JimmyBoy79
1 Solution
 
Netman66Commented:
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,


0
 
JimmyBoy79Author Commented:

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
0
 
bonzaiCommented:
----
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
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
JimmyBoy79Author Commented:

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
0
 
JimmyBoy79Author Commented:
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
0
 
bonzaiCommented:
--------
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

0
 
JimmyBoy79Author Commented:
Ok I will experiment some more with this.

But the initial problem with adjusting the services still remains.

:-/

James
0
 
cempashaCommented:
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 http://www.experts-exchange.com/Community_Support/ giving the address of this question. Thank you      

Pasha

Cleanup Volunteer


0
 
PashaModCommented:
PAQ'ed and points not refunded

PashaMod
CS Moderator
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now