Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

User Commands (m - o) nm(1)
NAME
nm - Displays the name list of a linkle, loadle, or other object le
SYNOPSIS
nm
[-A]
[-e | -g | -u]
[-f]
[-o]
[-P]
[-t format]
[-v]
[-x]
[le] ...
FLAGS
You can specify the following ags in any combination, but some ags will override others.
-A Writes the full pathname or library name of a named object on each line.
-e Displays only external (global) denitions and static symbol information.
-f Produces full output and writes redundant symbols that are normally suppressed. In the
HP implementation, this ag has no effect, but it is retained for XPG4 compatibility.
-g Writes only external (global) symbol information.
-o Displays a symbols value and size as an octal rather than a decimal number (same as
the -to ag).
-P Writes information in a portable output format as specied in Standard Output under
DESCRIPTION.
-t format Writes each numeric value in the specied format. The format depends on the single
character used as the format argument:
d The offset value is written in decimal (this is the default format).
o The offset value is written in octal.
x The offset value is written in hexadecimal.
-u Displays only undened symbols.
-v Sorts external symbols by value instead of alphabetically before displaying them.
-x Displays a symbols value and size as a hexadecimal rather than a decimal number
(same as the -tx ag).
DESCRIPTION
The nm command writes the name list of each specied le to the standard output le.
The nm command displays symbolic information appearing in the linkle, loadle, object le,
executable le, or library named by the le operand. If no symbolic information is available for a
valid input le, nm reports that fact but does not consider it an error condition.
The default base for numeric values is decimal.
527188-003 Hewlett-Packard Company 649