Unix and Linux Discussions Tagged with for each |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
11,217 |
Programming |
|
|
|
4 |
3,838 |
Shell Programming and Scripting |
|
|
|
3 |
1,611 |
Shell Programming and Scripting |
|
|
|
41 |
13,421 |
Shell Programming and Scripting |
|
|
|
3 |
12,033 |
Programming |
|
|
|
0 |
933 |
UNIX and Linux RSS News |
|
|
|
3 |
18,849 |
AIX |
|
|
|
7 |
5,041 |
IP Networking |
|
|
|
9 |
6,638 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
8,705 |
Shell Programming and Scripting |
|
|
|
1 |
1,901 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
34,738 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,438 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
4,564 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
6,934 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
18,062 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
2,221 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
15,138 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
6,356 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
5,093 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
2,550 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
1 |
2,807 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,269 |
IP Networking |
|
|
|
1 |
2,951 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
15,251 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
60,430 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
5,524 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,374 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,520 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,500 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,319 |
IP Networking |
|
|
|
9 |
10,900 |
Cybersecurity |
|
|
|
3 |
28,932 |
Where do I download LINUX & UNIX? |
|
|
|
3 |
2,527 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,219 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
22,327 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,478 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,531 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,542 |
UNIX for Dummies Questions & Answers |
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 ...
xfs_estimate -V
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.
-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.
-V Print the version number and exits.
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)