The HyperNews Linux KHG Discussion Pages
Next-in-Thread Next Message Previous Message Next Thread

Setting resource limits

Forum: The Linux Kernel Hackers' Guide
Re: Question resources hard limits
Keywords: getrlimit setrlimit limit ulimit hard resource limits
Date: Fri, 30 May 1997 21:59:26 GMT
From: Jukka Santala <e75644@uwasa.fi>

Do try man limit and man ulimit; well, my current installation has neither manpage, but at least ulimit's in /usr/bin by default. limit is a built-in command in some shells for the same purpose. As for soft/hard limits, ulimit -S vs. ulimit -H ought to do that. Incidentally, if you specify neither, both should get changed at the same time. csh is an excemption; here you need to use limit -h for hard limits. As for C programs, use getrlimit() and setrlimit() calls - but then you really ought to get the manpages, and I have no clue what this has to do with kernel hacking... *shakes head* ;)

Next-in-Thread Next Message Previous Message Next Thread

to: "Setting resource limits"

Subscribe Membership Move/Remove Admin Mode Show Frames Help for HyperNews 1.9.4