From owner-freebsd-questions@FreeBSD.ORG Wed Aug 15 13:42:44 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA7F416A421 for ; Wed, 15 Aug 2007 13:42:44 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.freebsd.org (Postfix) with ESMTP id 6A2BA13C469 for ; Wed, 15 Aug 2007 13:42:43 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: (qmail 10066 invoked by uid 0); 15 Aug 2007 13:42:42 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (216.186.148.249) by smtp3.knology.net with SMTP; 15 Aug 2007 13:42:42 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id 791ED2840A; Wed, 15 Aug 2007 08:42:42 -0500 (CDT) Date: Wed, 15 Aug 2007 08:42:42 -0500 From: David Kelly To: Grant Peel Message-ID: <20070815134242.GC35202@Grumpy.DynDNS.org> References: <000c01c7df3f$ff3bc7b0$6501a8c0@GRANT> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000c01c7df3f$ff3bc7b0$6501a8c0@GRANT> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: ports clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2007 13:42:44 -0000 On Wed, Aug 15, 2007 at 09:27:15AM -0400, Grant Peel wrote: > How con I run make clean in the /usr/ports directory and ensure the > CPU does not get all eaten up? > > I need to do this on two name servers so no users need to log in or > anything...it can run for a whole day and not bother anyone. "portsclean -C" does "rm -r /usr/ports/*/*/work" You might add "nice +20" (or whatever the syntax is for your shell) in front of that. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.