cancel
Showing results for 
Search instead for 
Did you mean: 

ulimit -a

SOLVED
Go to solution
Paul Stanard
Regular Advisor

ulimit -a

ulimit -a produces 4194304
any reason why is does not display all of the current resource limits
6 REPLIES
Johan Brusche
Honored Contributor

Re: ulimit -a


Because you are in the "sh"-shell and use the built-in ulimit. ("type ulimit")

Use /usr/bin/ulimit -a if you want the other output.

Johan.

_JB_
Paul Stanard
Regular Advisor

Re: ulimit -a

I get the same response
Johan Brusche
Honored Contributor
Solution

Re: ulimit -a

Please report the output of:

echo $SHELL
echo $PATH
type ulimit
whereis ulimit
what /usr/bin/ulimit
/usr/bin/ulimit -a
csh
limit

Johan.

_JB_
Michael Schulte zur Sur
Honored Contributor

Re: ulimit -a

Hi,

/usr/bin/ulimit -a

gives a complete report for me, even when running a sh.
Try running ksh and the ulimit -a

Michael
Paul Stanard
Regular Advisor

Re: ulimit -a

echo $shell

echo $PATH
/sbin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/bin/X11:/usr/local/

type ulimit
ulimit is a shell built in

what /usr/bin/ulimit
/usr/bin/ulimit:$RCSfile:exec-builtin.sh, v $ $ Revision:1.1.4.3 (DEC) .......

/usr/bin/ulimit -a
time (seconds) unlimited
file (blocks) unlimited
data (kbytes) 131072
stack (kbytes) 8192
memory (kbytes) 12244408
core dump (blocks) unlimited
no files (descriptors) 4096
vmemory (kbytes) 4194304


csh
limit
cpu time unlimited
filesize unlimited
datasize 131072 kb
stacksize 8192 kb
coredumpsize unlimited
memory use 12244408 kb
descriptors 4096 files
addressspace 4194304 kb
Paul Stanard
Regular Advisor

Re: ulimit -a

Problem solved