Click this button to go to the index for this section. |
size(1)
NAME
size - Prints the size of an object file and the sizes of its segments or sectionsSYNOPSIS
size [-d -o -x -A -B -V] [file1 ...fileN]OPTIONS
The size command accepts the following options: -d, -o, -x Prints size information in decimal (default), octal, and hexadecimal format, respectively. -A Specifies System V-style output, which dumps size and address information 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 DIGITAL UNIX systems. This output contains size information for each segment 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.DESCRIPTION
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.SEE ALSO
Programmer's Guide