Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ size(1) — HP-UX 5.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

as(1)

cc(1)

ld(1)

a.out(5)

ar(5)

SIZE(1)

NAME

size − print section sizes of common object files

SYNOPSIS

size [ −o ] [ −x ] files

HP-UX COMPATIBILITY

Level: HP-UX/STANDARD

Origin: System V

DESCRIPTION

The size command produces section size information for each section in common object files.  The size of the text, data and bss (uninitialized data) sections are printed along with the total size of the object file.  If an archive file is input to the size command the information for all archive members is displayed. 

By default, numbers are printed in decimal, unless altered by the options described below. 

−o print numbers in octal. 

−x print numbers in hexadecimal. 

HARDWARE DEPENDENCIES

Series 500:
The text size shown is the sum of the sizes of all code segments. 

The data size shown is the sum of the initialized portions of the ddata and idata segments (which may be one or two data segments). 

The bss size shown is the sum of the uninitialized portions of the ddata and idata segments. 

If size is run on any commands shipped with HP-UX, the text size does not include any shared library segments referenced by the command. 

SEE ALSO

as(1), cc(1), ld(1), a.out(5), ar(5). 

DIAGNOSTICS

size:  name:  cannot open
if name cannot be read. 

size:  name:  bad magic
if name is not an appropriate common object file. 

Hewlett-Packard  —  last mod. May 11, 2021

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