From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 07:55:34 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 C489716A4FD for ; Thu, 26 Feb 2004 07:55:34 -0800 (PST) Received: from godzilla.vipstructures.com (godzilla.vipstructures.com [216.175.208.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9808C43D1D for ; Thu, 26 Feb 2004 07:55:34 -0800 (PST) (envelope-from etoll@vipstructures.com) Received: by godzilla.vipstructures.com (Postfix, from userid 17) id A6CCFA973; Thu, 26 Feb 2004 10:58:52 -0500 (EST) Received: from mothra.vipstructures.com (mothra.vipstructures.com [192.168.1.3]) by godzilla.vipstructures.com (Postfix) with ESMTP id D9989A962 for ; Thu, 26 Feb 2004 10:58:51 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Thu, 26 Feb 2004 10:55:24 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Message-ID: <9BC86C67C3AF7646B9C5382020457A94271B6D@VIP10-WIN2K> content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Nice Renice Verynice Thread-Index: AcP0tKCQAraPBbL1SXaa8WeFecym7QHy0mOA From: "Eric Toll" To: X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on godzilla.vipstructures.com X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.60 Subject: Nice Renice Verynice 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: Thu, 26 Feb 2004 15:55:35 -0000 Greetings all, I'm on 4.7 release (patched) I saw a program Verynice (http://tam.cornell.edu/~sdh4/verynice/) which is is a tool for dynamically adjusting the nice-level of processes under UNIX-like operating systems. I was wondering if there was a better way to go about making all processes that a partuclar user runs altered to say -15 value. (Greater Priority) I can do a "renice -15 -u username" which works fine for current running processes, but when one process ends and another process is started under that same username the nice level reverts to back to default (0). My Question: How do I permanemtly alter the priority for everything a particular user runs? Should I just schedule a cron job for every 60 seconds that renices the user that I want? Thanks much, Eric