471,305 Members | 1,571 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,305 software developers and data experts.

Setting a process to BelowNormal priority on web and database serv


I have a program that I want to make yeild cpu priority to any other program
running on either the web server and database server (2 seperate machines).

Currenlty I'm using this code and it seems to do the job for the web server:

System.Diagnostics.Process.GetCurrentProcess().Pri orityClass =
System.Diagnostics.ProcessPriorityClass.BelowNorma l;

Do I need to do something else to set the priority on the database server as
well? In particular I want my program to wait if there is any other SQL
server activity on the database server. Any recommendations for how to
accomplish this?

Thanks in advance!
Jul 21 '05 #1
0 851

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Stu Banter | last post: by
reply views Thread by Daniel Xiao | last post: by
8 posts views Thread by David Lozzi | last post: by
3 posts views Thread by Art Krumsee | last post: by
2 posts views Thread by =?Utf-8?B?bXVyYWRqYW1lcw==?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.