*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> size (1)              


 size(1)                                                             size(1)

 NAME    [Toc]    [Back]
      size - print section sizes of object files

 SYNOPSIS    [Toc]    [Back]
      size [-d] [-o] [-x] [-V] [-v] [-f] [-F] [-n] [-U] files

 DESCRIPTION    [Toc]    [Back]
      size produces section size information for each section in the 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.

    Options    [Toc]    [Back]
      size recognizes the following options:

           -d      Print sizes in decimal.  This is the default.

           -o      Print sizes in octal.

           -x      Print sizes in hexadecimal.

           -V      Print version information about the size command.

           -v      Print a verbose list of the subspaces in the object
                   files.  Each subspace is listed on a separate line with
                   its size, physical address, and virtual address.

           -f      Print the size of each allocatable section (ELF only).

           -F      Print the size and permission bits of each loadable
                   segment (ELF only).

           -n      Print the sizes of non loadable segments or non
                   allocatable sections (ELF only).

           -U      Print the usage menu.

    Environment Variables
      The following internationalization variables affect the execution of

      LANG Determines the locale category for native language, local customs
           and coded character set in the absence of LC_ALL and other LC_*
           environment variables.  If LANG is not specified or is set to the
           empty string, a default of C (see lang(5)) is used instead of

      LC_ALL    [Toc]    [Back]
           Determines the values for all locale categories and has

 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003

 size(1)                                                             size(1)

           precedence over LANG and other LC_* environment variables.

      LC_MESSAGES    [Toc]    [Back]
           Determines the locale that should be used to affect the format
           and contents of diagnostic messages written to standard error.

      LC_NUMERIC    [Toc]    [Back]
           Determines the locale category for numeric formatting.

      LC_CTYPE    [Toc]    [Back]
           Determines the locale category for character handling functions.

      ST_SIZECAT    [Toc]    [Back]
           Determines the location of message catalogues for the processing
           of LC_MESSAGES.

      If any internationalization variable contains an invalid setting, size
      behaves as if all internationalization variables are set to C.  See

    International Code Set Support    [Toc]    [Back]
      Single- and multi-byte character code sets are supported.

 DIAGNOSTICS    [Toc]    [Back]
      size: name: cannot open            name cannot be read.

      size: name: bad magic              name is not an appropriate object

 EXAMPLES    [Toc]    [Back]
      Compare the sizes of the text, data, and bss sections for two versions
      of a program:

           size ./version1 ./version2

 SEE ALSO    [Toc]    [Back]
    System Tools:
      as(1)             translate assembly code to machine code
      cc(1)             invoke the HP-UX C compiler
      ld(1)             invoke the link editor

      a.out(4)          assembler, compiler, and linker output
      ar(4)             archive format

      size: SVID2, SVID3, XPG2, XPG4

 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003

 size(1)                                                             size(1)

 Hewlett-Packard Company            - 3 -   HP-UX 11i Version 2: August 2003
[ Back ]
 Similar pages
Name OS Title
size IRIX print the section sizes of object files
size NetBSD list section sizes and total size.
size FreeBSD list section sizes and total size.
disksecn HP-UX calculate default disk section sizes
size Linux list section sizes and total size.
cksum HP-UX print file checksum and sizes
xlate IRIX the address translation object file section of an ELF object
newsyslog.conf OpenBSD trim log files to manageable sizes
newsyslog OpenBSD trim log files to manageable sizes
size Tru64 Prints the size of an object file and the sizes of its segments or sections
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service