From owner-freebsd-questions@FreeBSD.ORG Wed Nov 17 06:56:08 2004 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 406A016A4CE for ; Wed, 17 Nov 2004 06:56:08 +0000 (GMT) Received: from weller-fahy.com (pD9FFE55F.dip.t-dialin.net [217.255.229.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 401AB43D2D for ; Wed, 17 Nov 2004 06:56:02 +0000 (GMT) (envelope-from dave-lists-freebsd-questions@weller-fahy.com) Received: (qmail 89970 invoked by uid 1001); 17 Nov 2004 06:55:53 -0000 Date: Wed, 17 Nov 2004 07:55:53 +0100 From: "David J. Weller-Fahy" To: freebsd-questions@freebsd.org Message-ID: <20041117065531.GA89733@weller-fahy.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <20041116144450.GA70461@weller-fahy.com> <20041117014040.U82191@maren.thelosingend.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041117014040.U82191@maren.thelosingend.net> X-URL-Me: http://www.weller-fahy.com X-URL-Family: http://www.weller-kin.com X-Accept-Language: en X-Location: Germany, Gangelt, Hof Grootfeld User-Agent: Mutt/1.5.6i Subject: Re: Question about nice 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: Wed, 17 Nov 2004 06:56:08 -0000 * Svein Halvor Halvorsen [2004-11-17 01:52 +0100]: > > nice isoqlog > > isoqlog > According to the man page nice(1) > The nice utility runs utility at an altered scheduling priority, by > incrementing its ``nice'' value by the specified increment, or a default > value of 10. The lower the nice value of a process, the higher its > scheduling priority. > If you don't specify the priority level, then mice adds 10. Ok, thanks Svein. > > nice sudo isoqlog > > sudo nice isoqlog > > The former will run sudo nice, which in turn will make isoqlog run as > root, with the priority level inherited. The latter will make sudo run > nice as root, and in turn run isoqlog with priority 10, with the effective > user inherited. > > The obvoius difference, is that you let sudo run nice without a password, > you could do "sudo nice " without a password. Yep, that's why I was concerned about it. If there's no reason not to run the first syntax, then that's what I'll use. Regards, -- dave [ please don't CC me ]