Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ size(1) — DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



                                                                  size(1)



        _________________________________________________________________
        size                                                      Command
        print section sizes of object, executable files, archive
        _________________________________________________________________


        SYNTAX

        size [-n] [-f] [-o] [-x] [-V] file ...


        DESCRIPTION

        The size command produces section size information in bytes for
        each loaded section in the specified object, executable, and
        archive files.  The sizes of the text, data, and bss
        (uninitialized data) sections are printed as well as the sum of
        the sizes of these sections.

        For an archive file, size displays this information for each
        member of the archive.

        Numbers are printed in decimal by default.

        Options are:

        -n   Include sections not loaded when calculating the sizes.

        -f   Produce full output; print the size of every loaded section,
             followed by the section name in parentheses.

        -o   Print numbers in octal.

        -x   Print numbers in hexadecimal.

        -V   Print, on standard error, the version information about the
             size command being executed.



        _________________________________________________________________
        EXAMPLES

        $ size filename

        1347 + 10240 + 0 = 11587

        This command shows the size (in decimal) required by the text,
        data, and bss sections.

        $ size -f object.o



        DG/UX 4.00                                                 Page 1
               Licensed material--property of copyright holder(s)





                                                                  size(1)



        252 .data + 1076 (.text) = 1328

        This command shows the name and size (in decimal) of each section
        in an object file.
        _________________________________________________________________


        SEE ALSO

        as(1), cc(1), ld(1), ar(4).


        DIAGNOSTICS

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

        size:  name:  bad magic
             if name is not an appropriate object, executable, or archive
        file.


































        DG/UX 4.00                                                 Page 2
               Licensed material--property of copyright holder(s)



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