Co robi NM użycie. Konsola specified, perform operations on a.out . Output includes each symbol&#.

Czy przydatne?

Polecenie nm

Wykonanie, użycie: Print the symbol table in alphabetical order from one or more object files. If no object files are specified, perform operations on a.out. Output includes each symbol's value, type, size, name, and so on. A key letter categorizing the symbol can also be displayed

Opcje wykonania nm w konsoli

-a, --debug-syms

Print debugger symbols.


Display only defined symbols.

-f format, --format=format

Specify output format (bsd, sysv, or posix). Default is bsd.

-g, --extern-only

Print external symbols only.


Print help message, then exit.

-l, --line-numbers

Print source filenames and line numbers for each symbol from available debugging information.

-n, -v, --numeric-sort

Sort the external symbols by address.

-p, --no-sort

Don't sort the symbols at all.

-r, --reverse-sort

Sort in reverse, alphabetically or numerically.

-s, --print-armap

Include mappings stored by ar and ranlib when printing archive symbols.


Sort by size.

-t radix, --radix=radix

Use the specified radix for printing symbol values. Accepted values are d for decimal, o for octal, and x for hexadecimal.


Specify an object code format other than the system default.

-u, --undefined-only

Report only the undefined symbols.

-A, -o, --print-file-name

Print input filenames before each symbol.


Same as --format=bsd.

-C, --demangle[=style]

Translate low-level symbol names into readable versions. You may specify a style to use when demangling symbol names from a foreign compiler.

-D, --dynamic

Print dynamic, not normal, symbols. Useful only when working with dynamic objects (some kinds of shared libraries, for example).

-P, --portability

Same as -f posix.

-S, --print-size

Print the size of defined symbols.

-V, --version

Print nm's version number on standard error.

Przykłady nm działanie w Słownik polecenie N

Przykład NM użycie :
Jak użyć command with its optional command arguments , continuing to run it even after you log out (make command immune to hangups—i.e., no h angup ). Terminal output is appended to the file nohup.out by co to jest.
Przykład NM użycie :
Jak użyć Internet domain nameserver. named is used by resolver libraries to provide access to the Internet distributed naming database. With no arguments, named reads /etc/named.conf for any initial data and definicja.
Przykład NM użycie :
Jak użyć administration command. Interactively submit dynamic DNS update requests to a nameserver. Use nsupdate to add or remove records from a zone without manually editing the zone file. Commands may be co znaczy.
Przykład NM użycie :
Jak użyć administration command. Assign an interface name to a network device specified by macaddress , the unique serial number that identifies a network card. If no name and macaddress are given, nameif słownik.
Przykład NM użycie :
Jak użyć Show network status. Print information on active sockets, routing tables, interfaces, masquerade connections, or multicast memberships. By default, netstat lists open sockets. When a delay is znaczenie.