size — Print Section Sizes of Object Files in Bytes

Synopsis

/usr/ccs/bin/size [-f][-F][-n][-o][-V][-x] filename... 

Description

The size command produces segment or section size information in bytes for each loaded section in ELF object files. size prints out the size of the text, data, and bss (uninitialized data) segments (or sections) and their total.

size processes ELF object files named on the command line. If an archive file name is input to the size command, the information for each object file in the archive is displayed.

When calculating segment information, the size command prints the total file size of the nonwritable segments, the total file size of the writable segments, and the total memory size of the writable segments minus ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.