Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Oct 2003 23:18:40 +0100 (CET)
From:      Olaf Hoyer <ohoyer@gaff.hhhr.ision.net>
To:        "ghuul@email.cz" <ghuul@email.cz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Process priority
Message-ID:  <20031026231659.F52990@gaff.hhhr.ision.net>
In-Reply-To: <bnhe9o$v99$1@sea.gmane.org>
References:  <bnhe9o$v99$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Hi!

nice and renice are the commands to give the process lower priority.

in particular, whilst operating, you will want to check out renice(8).

HTH
Olaf


-- 
Olaf Hoyer        ohoyer@gaff.hhhr.ision.net
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)



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