Operating System - HP-UX
1834926 Members
2588 Online
110071 Solutions
New Discussion

Re: File size: how to set upper limit

 
Pippo_9
Frequent Advisor

File size: how to set upper limit

Hi folks.

My O.S.: HP-UX 11.00, with option "large files" already on.

Question: is there a way to set a maximum size limit (chosen and defined by myself) for file beyond 2GB (for instance, 4GB)?

Is it possible to do that?


Thanks and regards

JPM
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor

Re: File size: how to set upper limit

Hi JPM,

ulimit or quotas

Robert-Jan
Pete Randall
Outstanding Contributor

Re: File size: how to set upper limit

I can try and narrow your search for you: I think you probably want to look at ulimit. The man page doesn't offer much but you may be able to find more information with a little effort.


Pete

Pete
T G Manikandan
Honored Contributor

Re: File size: how to set upper limit

check for

#ulimit

you can restrict the size of files being written.
T G Manikandan
Honored Contributor

Re: File size: how to set upper limit

#ulimit -f

the block size is 512bytes