size - Prints the size of an object file and the sizes of its segments or
size [-d -o -x -A -B -V] [file1 ...fileN]
The size command accepts the following options:
-d, -o, -x
Prints size information in decimal (default), octal, and hexadecimal
-A Specifies System V-style output, which dumps size and address informa-
tion for each section of the object file. By default, numbers are
printed in decimal.
-B Specifies Berkeley (4.3BSD)-style output, which is the default for
Tru64 UNIX systems. This output contains size information for each seg-
ment and the size of the entire object file. By default, the segment
size information is printed in decimal format and the object file size
is printed in hexadecimal and decimal formats.
-V Prints the version of size that you are using.
The size command prints information about the text, rdata, data, sdata,
bss, and sbss sections of each file. The file can be an object or an
archive. If you do not specify a file, size uses a.out as the default.
[SVR4] By default, the size command displays its output as if the A option
The following environment variables affect the behavior of size: