Name
size
Synopsis
size [options
] [objfile..
.]
Print the number of bytes of each section of objfile and its total size. If objfile is not specified, a.out is used.
Options
- -d
Display the size in decimal and hexadecimal.
- --format=format
Imitate the size command from either System V (--format sysv) or BSD (--format berkeley).
- --help
Print help message, then exit.
- -o
Display the size in octal and hexadecimal.
- --radix=num
Specify how to display the size: in hexadecimal and decimal (if num is 10 or 16) or hexadecimal and octal (if num is 8).
- -t, --totals
Show object totals. Works only with Berkeley format listings.
- --target=bfdname
Specify object format by binary file descriptor name. Use -h for a list of supported object formats.
- -x
Display the size in hexadecimal and decimal.
- -A
Imitate System V’s size command.
- -B
Imitate BSD’s size command.
- -V, --version
Print version, then exit.
Get Linux in a Nutshell, 6th 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.