?
Solved

Adjusting priority of services

Posted on 2003-03-13
9
Medium Priority
?
190 Views
Last Modified: 2010-08-05
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
Comment
Question by:JimmyBoy79
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 51

Expert Comment

by:Netman66
ID: 8128432
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
 

Author Comment

by:JimmyBoy79
ID: 8128589

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
 
LVL 2

Expert Comment

by:bonzai
ID: 8128715
----
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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:JimmyBoy79
ID: 8128734

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
 

Author Comment

by:JimmyBoy79
ID: 8128742
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
 
LVL 2

Expert Comment

by:bonzai
ID: 8128872
--------
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
 

Author Comment

by:JimmyBoy79
ID: 8137603
Ok I will experiment some more with this.

But the initial problem with adjusting the services still remains.

:-/

James
0
 
LVL 5

Expert Comment

by:cempasha
ID: 8598131
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
 

Accepted Solution

by:
PashaMod earned 0 total points
ID: 9592079
PAQ'ed and points not refunded

PashaMod
CS Moderator
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question