Size (Unix)

Size (Unix)

size is a command line utility originally written for use with the Unix-like operating systems. It processes one or more ELF files and its output are the dimensions (in bytes) of the text, data and uninitialized sections, and their total.

Common use: $ size

Here follows some examples on Solaris ("/usr/ccs/bin/size"); options and syntax may vary on different Operating Systems:

$ size /usr/ccs/bin/size 9066 + 888 + 356 = 10310

With -f option name and size of each section are printed out, plus their total: $ size -f /usr/ccs/bin/size 17(.interp) + 636(.hash) + 1440(.dynsym) + 743(.dynstr) + 64(.SUNW_version) + 48(.rela.ex_shared) + 24(.rela.bss) + 336(.rela.plt) + 4760(.text) + 80(.init) + 80(.fini) + 4(.exception_ranges) + 28(.rodata) + 590(.rodata1) + 12(.got) + 388(.plt) + 192(.dynamic) + 40(.ex_shared) + 112(.data) + 140(.data1) + 352(.bss) = 10086

With -F option size and permission flag of each sections are printed out, plus their total:

$ size -F /usr/ccs/bin/size 9066(r-x) + 1244(rwx) = 10470

See also

* List of Unix programs


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • size — unix утилита, отображающая информацию о размерах секций для объектных файлов обычного формата. Выводятся три числа: размеры в байтах секции команд, секции данных и секции неинициализированных данных, а затем их сумма. Использование size [ o] [ x] …   Википедия

  • Size — unix утилита, отображающая информацию о размерах секций для объектных файлов обычного формата. Выводятся три числа: размеры в байтах секции команд, секции данных и секции неинициализированных данных, а затем их сумма. Использование size [ o] [ x] …   Википедия

  • Size — The word size may refer to how big something is. In particular: * Measurement * Dimensions: length, width, height, diameter, perimeter, area, volume * Clothing sizes such as shoe size or dress size * Body dimensions **Human height **Human weight… …   Wikipedia

  • UNIX-Kommandos — Unix Systeme zeichnen sich durch eine Vielzahl von Kommandos aus, mit denen sich über eine Shell das Betriebssystem bedienen lässt. Die Syntax dieser Kommandos weicht unter den verschiedenen Systemen voneinander ab. Es existieren die beiden… …   Deutsch Wikipedia

  • Unix-Befehle — Unix Systeme zeichnen sich durch eine Vielzahl von Kommandos aus, mit denen sich über eine Shell das Betriebssystem bedienen lässt. Die Syntax dieser Kommandos weicht unter den verschiedenen Systemen voneinander ab. Es existieren die beiden… …   Deutsch Wikipedia

  • Unix-Kommando — Unix Systeme zeichnen sich durch eine Vielzahl von Kommandos aus, mit denen sich über eine Shell das Betriebssystem bedienen lässt. Die Syntax dieser Kommandos weicht unter den verschiedenen Systemen voneinander ab. Es existieren die beiden… …   Deutsch Wikipedia

  • Unix Kommandos — Unix Systeme zeichnen sich durch eine Vielzahl von Kommandos aus, mit denen sich über eine Shell das Betriebssystem bedienen lässt. Die Syntax dieser Kommandos weicht unter den verschiedenen Systemen voneinander ab. Es existieren die beiden… …   Deutsch Wikipedia

  • Unix-Kommandos — Unix Systeme zeichnen sich durch eine Vielzahl von Kommandos aus, mit denen sich über eine Shell das Betriebssystem bedienen lässt. Die Syntax dieser Kommandos weicht unter den verschiedenen Systemen voneinander ab. Es existieren die beiden… …   Deutsch Wikipedia

  • Unix File System — Infobox filesystem full name = UNIX file system name = UFS developer = CSRG introduction os = 4.2BSD introduction date = partition id = directory struct = table file struct = bad blocks struct = max file size = 2^73 bytes (8 ZiB) max files no =… …   Wikipedia

  • Unix architecture — A Unix architecture is a computer operating system system architecture that embodies the Unix philosophy. It may adhere to standards such as the Single UNIX Specification (SUS) or similar POSIX IEEE standard. No single published standard… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”