nm man page on Plan9

Printed from http://www.polarhome.com/service/man/?qf=nm&af=0&tf=2&of=Plan9

NM(1)									 NM(1)

NAME
       nm - name list (symbol table)

SYNOPSIS
       nm [ -aghnsTu ] file ...

DESCRIPTION
       Nm  prints the name list of each executable or object file in the argu‐
       ment list.  If the file is an archive (see ar(1)),  the	name  list  of
       each file in the archive is printed.  If more than one file is given in
       the argument list, the name of each file is printed at the beginning of
       each line.

       Each  symbol name is preceded by its hexadecimal value (blanks if unde‐
       fined) and one of the letters

       T      text segment symbol

       t      static text segment symbol

       L      leaf function text segment symbol

       l      static leaf function text segment symbol

       D      data segment symbol

       d      static data segment symbol

       B      bss segment symbol

       b      static bss segment symbol

       a      automatic (local) variable symbol

       p      function parameter symbol

       z      source file name

       Z      source file line offset

       f      source file name components

       The output is sorted alphabetically.

       Options are:

       -a     Print all symbols; normally only user-defined  text,  data,  and
	      bss segment symbols are printed.

       -g     Print only global (T, L, D, B) symbols.

       -h     Do not print file name headers with output lines.

       -n     Sort according to the address of the symbols.

       -s     Don't sort; print in symbol-table order.

       -T     Prefix each line with the symbol's type signature.

       -u     Print only undefined symbols.

SOURCE
       /sys/src/cmd/nm.c

SEE ALSO
       ar(1), 8l(1), db(1), acid(1), a.out(6)

									 NM(1)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Plan9

List of man pages available for Plan9

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net