unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (HP-UX-11.11)
Page:
Section:
Apropos / Subsearch:
optional field



 size(1)							     size(1)




 NAME
      size - print section sizes of object files

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

 DESCRIPTION
      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
      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.

 EXTERNAL INFLUENCES
    Environment Variables
      The following internationalization variables affect the execution of
      size:

      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
	   LANG.

      LC_ALL
	   Determines the values for all locale categories and has



 Hewlett-Packard Company	    - 1 -   HP-UX Release 11i: November 2000






 size(1)							     size(1)




	   precedence over LANG and other LC_* environment variables.

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

      LC_NUMERIC
	   Determines the locale category for numeric formatting.

      LC_CTYPE
	   Determines the locale category for character handling functions.

      ST_SIZECAT
      NLSPATH
	   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
      environ(5).

    International Code Set Support
      Single- and multi-byte character code sets are supported.

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

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

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

	   size ./version1 ./version2

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

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

 STANDARDS CONFORMANCE
      size: SVID2, SVID3, XPG2, XPG4






 Hewlett-Packard Company	    - 2 -   HP-UX Release 11i: November 2000






 size(1)							     size(1)























































 Hewlett-Packard Company	    - 3 -   HP-UX Release 11i: November 2000