Process priority

Uwe Doering gemini at geminix.org
Mon Oct 27 00:19:19 PST 2003


Olaf Hoyer wrote:
> On Sun, 26 Oct 2003, ghuul at email.cz wrote:
> 
>>Is there some way ho to assign priority (cpu time) for each process ?
>>I'm using Samba server for PDF printing and in case of big printouts it
>>could "eat" whole cpu time for few seconds, so i'd like to control it
>>and give to this process lower priority.
> 
> nice and renice are the commands to give the process lower priority.
> 
> in particular, whilst operating, you will want to check out renice(8).

Or if you consider it appropriate to give Samba only the available idle 
time in this scenario you may also want to look at the idprio(1) command.

    Uwe
-- 
Uwe Doering         |  EscapeBox - Managed On-Demand UNIX Servers
gemini at geminix.org  |  http://www.escapebox.net



More information about the freebsd-questions mailing list