Subject: Re: Cannot ulimit -m
To: Paul Hoffman <phoffman@proper.com>
From: Andrew Brown <atatat@atatdot.net>
List: netbsd-help
Date: 01/29/2002 16:57:12
>>>>If you look at the hard limit with 'ulimit -H' and then try to set to this
>>>>limit, does it work ?
>>>
>>>ulimit -H reports "unlimited".
>>>
>>>ulimit -a reports:
>>
>>You want ulimit -a -H then. Sorry I'm a csh user :)
>
>That reports:
>...

note that it might be easier to look at all this stuff in terms of

	% sysctl proc.$$.rlimit
	...
	proc.342.rlimit.memoryuse.soft = 192598016
	proc.342.rlimit.memoryuse.hard = 192598016
	proc.342.rlimit.memorylocked.soft = 64199338
	proc.342.rlimit.memorylocked.hard = 192598016
	...

since that's (a) shell agnostic, and (b) shows both hard and soft
limits at the same time.

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."