02-12-2012
I guess you aren't using sh or ksh but bash which, like other Gnu tools, doesn't necessarily stick to established standards. In particular, it uses 1024 bytes "increments" instead of the usual/traditional 512 bytes blocks.
This User Gave Thanks to jlliagre For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
All
I am trying to do
ulimit -d unlimited
and I get "sh: ulimit: The specified value exceeds the user's allowable limit."
Can someone please help me understand, how to change this!
Thanks (1 Reply)
Discussion started by: adadevil
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
system aix 4.3
when I execute umilit i get result "unlimited".
why cant i ftp or extract from media filesize over 2gig....
e.g FS /test/testy is large file enabled.
any help will be greatly appreciated.
thnx (3 Replies)
Discussion started by: Student37
3 Replies
3. Solaris
Hi,
I need to increase the open files on my server to run a test. Usually what I do is:
ulimit -n 5000
My questions are:
1] I want to set this parameter once and for all. What is the right parameter to set in /etc/system: rlim_fd_max or rlim_fd_cur?
2] How to make sure that this... (1 Reply)
Discussion started by: melanie_pfefer
1 Replies
4. UNIX for Advanced & Expert Users
hi
what is the difference between file and data? if file is unlimited, does that mean we can have a file as big as we like?
thanks.
file(blocks) unlimited
data(kbytes) 1048576 (6 Replies)
Discussion started by: JamesByars
6 Replies
5. UNIX for Advanced & Expert Users
Hi,
We have an AIX system on oslevel 5.2 and we have the current limits set for the user "XXX"
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1024000
stack(kbytes) 32768
memory(kbytes) unlimited
coredump(blocks) 2097151... (4 Replies)
Discussion started by: jerardfjay
4 Replies
6. SCO
hi,
i cant set ULIMIT for normal user (file size more than 2gb).but in root user it is working fine.in user it is giving error like "limit exceeded (priviledged user)". (2 Replies)
Discussion started by: prakrithi
2 Replies
7. HP-UX
Hi,
I want to set the coredump to unlimited, but it seems it does not work.
> ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) 4194303... (1 Reply)
Discussion started by: mr_andrew
1 Replies
8. Solaris
how do i check the ulimit set on my server..
ca i know whats the command ??
thanks in advance .. (5 Replies)
Discussion started by: expert
5 Replies
9. AIX
Hi all,
What are the nofiles in ulimit for? How can these affect the server performance? What are the desired values for this? below is the result of ulimit -a on the server.
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) ... (1 Reply)
Discussion started by: guzzelle
1 Replies
10. Linux
Hi im a complete noob to shell commands but here is my problem i have a dedicated server i7 with 24 gig ram i have whm/cpanel on it now ive added a minecraft system to root but i cannot set the server to more than 512mb memory i was told its because the memory is being blocked and was told to... (7 Replies)
Discussion started by: gazzac
7 Replies
LEARN ABOUT SUSE
xfs_estimate
xfs_estimate(8) System Manager's Manual xfs_estimate(8)
NAME
xfs_estimate - estimate the space that an XFS filesystem will take
SYNOPSIS
xfs_estimate [ -h? ] [ -b blocksize ] [ -i logsize ]
[ -e logsize ] [ -v ] directory ...
DESCRIPTION
For each directory argument, xfs_estimate estimates the space that directory would take if it were copied to an XFS filesystem. xfs_esti-
mate does not cross mount points. The following definitions are used:
KB = *1024
MB = *1024*1024
GB = *1024*1024*1024
The xfs_estimate options are:
-b blocksize
Use blocksize instead of the default blocksize of 4096 bytes. The modifier k can be used after the number to indicate multiplica-
tion by 1024. For example,
xfs_estimate -b 64k /
requests an estimate of the space required by the directory / on an XFS filesystem using a blocksize of 64K (65536) bytes.
-v Display more information, formatted.
-h Display usage message.
-? Display usage message.
-i, -e logsize
Use logsize instead of the default log size of 1000 blocks. -i refers to an internal log, while -e refers to an external log. The
modifiers k or m can be used after the number to indicate multiplication by 1024 or 1048576, respectively.
For example,
xfs_estimate -i 1m /
requests an estimate of the space required by the directory / on an XFS filesystem using an internal log of 1 megabyte.
EXAMPLES
% xfs_estimate -e 10m /var/tmp
/var/tmp will take about 4.2 megabytes
with the external log using 2560 blocks or about 10.0 megabytes
% xfs_estimate -v -e 10m /var/tmp
directory bsize blocks megabytes logsize
/var/tmp 4096 792 4.0MB 10485760
% xfs_estimate -v /var/tmp
directory bsize blocks megabytes logsize
/var/tmp 4096 3352 14.0MB 10485760
% xfs_estimate /var/tmp
/var/tmp will take about 14.0 megabytes
xfs_estimate(8)