Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ size(1) — Ultrix/UWS 4.5.1 RISC

Media Vault

Software Library

Restoration Projects

Artifacts Sought

size(1)  —  RISC

Name

size − prints the section size of an object file

Syntax

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 do not specify a file, size uses a.out as the default. 

Options

−o Print the size in octal. 

−x Prints the size in hexadecimal. 

−d Prints the size in decimal. 

−A Specifies AT&T System V style output.  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. 

−B Specifies Berkeley (4.3BSD) style output.  The Berkeley version prints size information for each section, regardless of whether the file exists, and prints the total in hexadecimal and decimal. 

−V Prints the version of size that you are using. 

Diagnostics

The size command may generate the following diagnostics:

ldopen: cannot read magic number filename
size: cannot open filename
ldinitheaders: magic number incorrect (0x0)
size: cannot open filename

These errors have the same meaning as the following VAX-based size message:

size: filename not an object file

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