Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.arcetri.astro.it/irlab/doc/library/linux/khg/HyperNews/get/khg/66/1.html
Дата изменения: Thu Mar 23 12:38:08 2000
Дата индексирования: Wed Sep 15 04:07:26 2010
Кодировка:

Поисковые слова: ceres
Setting resource limits The HyperNews Linux KHG Discussion Pages

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* ;)