The Go Programming Language

Command nm

Nm is a version of the Plan 9 nm command. The original is documented at

http://plan9.bell-labs.com/magic/man2html/1/nm

It prints the name list (symbol table) for programs compiled by gc as well as the Plan 9 C compiler.

This implementation adds the flag -S, which prints each symbol's size in decimal after its address.

For reasons of disambiguation it is installed as 6nm although it also serves as an 8nm and a 5nm.

release.r60.3. Except as noted, this content is licensed under a Creative Commons Attribution 3.0 License.