From owner-freebsd-questions Sat Jun 9 9:35:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from antares.gecadsoftware.com (antares.gecadsoftware.com [193.230.167.76]) by hub.freebsd.org (Postfix) with SMTP id 9AA3937B401 for ; Sat, 9 Jun 2001 09:35:32 -0700 (PDT) (envelope-from teo@gecadsoftware.com) Received: (qmail 88008 invoked from network); 9 Jun 2001 16:36:01 -0000 Received: from unknown (HELO taz.gecadsoftware.com) (193.230.245.17) by antares.gecadsoftware.com with SMTP; 9 Jun 2001 16:36:01 -0000 Received: from teo.gecadsoftware.com ([193.230.245.169]) by taz.gecadsoftware.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id M3427SBM; Sat, 9 Jun 2001 19:33:25 +0300 Received: (qmail 17218 invoked by uid 500); 9 Jun 2001 16:33:17 -0000 Date: Sat, 9 Jun 2001 19:33:17 +0300 From: teo@gecadsoftware.com To: FreeBSD Questions Subject: Re: How to keep a process from eating >n percent CPU? Message-ID: <20010609193317.B17089@gecadsoftware.com> Reply-To: teo@gecadsoftware.com Mail-Followup-To: teo@gecadsoftware.com, FreeBSD Questions References: <5310077921.20010609155333@binity.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <5310077921.20010609155333@binity.com>; from walter@binity.com on Sat, Jun 09, 2001 at 03:53:33PM +0200 Organization: GeCAD Software Comment: Worry less, RAV is watching! X-Operating-System: Linux 2.2.16 i686 up 2 days, 4:36 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Walter! On Sat, 09 Jun 2001, Walter Hop wrote: > Hi all, > > is it possible to put an effective constraint on a process' %CPU time > usage, so that when a runnable process exceeds that limit, it just > won't be scheduled (or something like that)? > lauch it using bash, after you previously imposed a limit on resurses with ulimit (in your case, with -t) -- teodor To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message