1757754 Members
2620 Online
108863 Solutions
New Discussion юеВ

ulimit and ksh

 
SOLVED
Go to solution
Richard Pereira_1
Regular Advisor

ulimit and ksh

why cant i see file descriptors in ulimit -a when im running ksh? does ksh only depend on maxfiles_lim ?

Thanks in adv
4 REPLIES 4
Geoff Wild
Honored Contributor

Re: ulimit and ksh

I can't confirm that ksh only depends on maxfiles_lim but, I can confirm that nofiles(descriptors) does not show in a ulimit -a with ksh.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
RAC_1
Honored Contributor
Solution

Re: ulimit and ksh

You need to do /usr/bin/ulimit -a

Anil
There is no substitute to HARDWORK
Geoff Wild
Honored Contributor

Re: ulimit and ksh

Anil - intersting...I wonder why you need the full path...

# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303

root@ [ / ]
# which ulimit
/usr/bin/ulimit

root@ [ / ]
# /usr/bin/ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 2048

You got it though.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Oliver Stoklossa
Frequent Advisor

Re: ulimit and ksh

I can't confirm, that ulimit without specifiying the path dooesn't show the nofiles line.

hp2005@root[/] ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 81612
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 200


Maybe the revision is different- mine is:

hp2005@root[/] what /usr/bin/ulimit
/usr/bin/ulimit:
$Revision: 76.1 $