Name

size

Synopsis

    size [options] [objfile ...]

Print the (decimal) number of bytes of each section of objfile. On many systems, if objfile is not specified, a.out is used. Solaris requires the objfile name. On Solaris, this program resides in /usr/ccs/bin.

Like the loader ld, this program has diverged across time and platforms, to the point where it’s not worthwhile to provide an option list. The output format is also not the same across systems. See the manpage for your local system.

Get Unix in a Nutshell, 4th Edition 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.