From owner-freebsd-questions@FreeBSD.ORG Sun Oct 26 14:18:42 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A047916A4B3 for ; Sun, 26 Oct 2003 14:18:42 -0800 (PST) Received: from gaff.hhhr.ision.net (gaff.hhhr.ision.net [195.180.9.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97C9E43FAF for ; Sun, 26 Oct 2003 14:18:41 -0800 (PST) (envelope-from ohoyer@gaff.hhhr.ision.net) Received: from gaff.hhhr.ision.net (localhost [127.0.0.1]) by gaff.hhhr.ision.net (8.12.9/8.12.9) with ESMTP id h9QMIfAR053081 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 26 Oct 2003 23:18:41 +0100 (CET) (envelope-from ohoyer@gaff.hhhr.ision.net) Received: from localhost (ohoyer@localhost)h9QMIei6053078; Sun, 26 Oct 2003 23:18:41 +0100 (CET) Date: Sun, 26 Oct 2003 23:18:40 +0100 (CET) From: Olaf Hoyer To: "ghuul@email.cz" In-Reply-To: Message-ID: <20031026231659.F52990@gaff.hhhr.ision.net> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Process priority X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2003 22:18:42 -0000 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)