Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

size(1)  —  Commands

Digital

NAME

size − prints the section size of an object file

SYNOPSIS

size [-o -d -x -A -B -V] [ file1 ... fileN ]

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 don’t specify a file, size uses a.out as the default. 

The −o, −x, and −d options print the size in octal, hexadecimal, and decimal, respectively. 

The −A and −B options specify AT&T System V style output or Berkeley (4.3BSD) style output, respectively.  The version of UNIX running at your site determines the default.  System V style, which is more verbose than Berkeley, dumps the headers of each section.  The Berkeley version prints size information for each section, regardless of whether the file exists, and prints the total in hexadecimal and decimal. 

The −V option prints the version of size that you’re using. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026