Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2003 09:19:15 +0100
From:      Uwe Doering <gemini@geminix.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Process priority
Message-ID:  <3F9CD503.9040702@geminix.org>
In-Reply-To: <20031026231659.F52990@gaff.hhhr.ision.net>
References:  <bnhe9o$v99$1@sea.gmane.org> <20031026231659.F52990@gaff.hhhr.ision.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Olaf Hoyer wrote:
> On Sun, 26 Oct 2003, ghuul@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@geminix.org  |  http://www.escapebox.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F9CD503.9040702>