ulimit and system command
- From: train_steve@xxxxxxxxx (Steve Tran)
- Date: Fri, 23 Sep 2005 11:57:17 -0700 (PDT)
Hello
I am noticing a strange phenomenon and I would
appreciate it if someone helped me understand it
in my shell when I execute ulimit -a
I get
% ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) unlimited
memory(kbytes) unlimited
coredump(blocks) 1024
nofiles(descriptors) unlimited
But when I put this in a perl script like
#! /usr/bin/perl
system("ulimit -a");
I get
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 2097152
stack(kbytes) unlimited
memory(kbytes) unlimited
coredump(blocks) 1024
nofiles(descriptors) unlimited
I dont understand why the data area size was limited
to 2048MB as compared to unlimited is this a limit
perl sets ?
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
.
- Prev by Date: RE: Looking for perl scripts to remove ^M
- Next by Date: Re: Looking for perl scripts to remove ^M
- Previous by thread: Looking for perl scripts to remove ^M
- Next by thread: Hash Problem
- Index(es):