*BSD News Article 79441


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!cancer.vividnet.com!hunter.premier.net!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to set a CPU-limit to user-processes?
Date: 28 Sep 1996 18:46:10 GMT
Organization: Private BSD site, Dresden
Lines: 17
Message-ID: <52jrpi$8s@uriah.heep.sax.de>
References: <529h3h$2bc@fstgal00.tu-graz.ac.at>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

dada@sbox.tu-graz.ac.at (Martin Kammerhofer) wrote:

> Recently I see processes (mostly 'pine') accumulating CPU-time. I've
> heard there's a way to set a CPU-time limit to user processes.
> How do I implement this?

`limit cputime' in [t]csh.  `ulimit -t' in Bourne-alike shells,
although FreeBSD's /bin/sh didn't grok `ulimit' before
2.2-someday-current or 2.1.5.

Of course, you can also fix the bug in Pine. :)
-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)