Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2007 08:42:42 -0500
From:      David Kelly <dkelly@hiwaay.net>
To:        Grant Peel <gpeel@thenetnow.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ports clean
Message-ID:  <20070815134242.GC35202@Grumpy.DynDNS.org>
In-Reply-To: <000c01c7df3f$ff3bc7b0$6501a8c0@GRANT>
References:  <000c01c7df3f$ff3bc7b0$6501a8c0@GRANT>

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



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