Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

nm(1) [v7 man page]

NM(1)							      General Commands Manual							     NM(1)

NAME
nm - print name list SYNOPSIS
nm [ -gnopru ] [ file ... ] DESCRIPTION
Nm prints the name list (symbol table) of each object file in the argument list. If an argument is an archive, a listing for each object file in the archive will be produced. If no file is given, the symbols in `a.out' are listed. Each symbol name is preceded by its value (blanks if undefined) and one of the letters U (undefined), A (absolute), T (text segment sym- bol), D (data segment symbol), B (bss segment symbol), or C (common symbol). If the symbol is local (non-external) the type letter is in lower case. The output is sorted alphabetically. Options are: -g Print only global (external) symbols. -n Sort numerically rather than alphabetically. -o Prepend file or archive element name to each output line rather than only once. -p Don't sort; print in symbol-table order. -r Sort in reverse order. -u Print only undefined symbols. SEE ALSO
ar(1), ar(5), a.out(5) NM(1)

Check Out this Related Man Page

NM(1)							      General Commands Manual							     NM(1)

NAME
nm - print name list (2BSD) SYNOPSIS
nm [ -gnopru ] [ file ... ] DESCRIPTION
Nm prints the name list (symbol table) of each object file in the argument list. If an argument is an archive, a listing for each object file in the archive will be produced. If no file is given, the symbols in "a.out" are listed. Each symbol name is preceded by its value (blanks if undefined) and one of the letters U (undefined), A (absolute), T (text segment sym- bol), D (data segment symbol), B (bss segment symbol), C (common symbol), or f file name. If the symbol is local (non-external) the type letter is in lower case. If the file is an overlaid executable, the overlay number is printed after the name. The number is printed if the symbol is in an overlay or if it is the entry point (in the base segment) for a subroutine in an overlay. The output is sorted alpha- betically. Options are: -g Print only global (external) symbols. -n Sort numerically rather than alphabetically. -o Prepend file or archive element name to each output line rather than only once. -p Don't sort; print in symbol-table order. -r Sort in reverse order. -u Print only undefined symbols. SEE ALSO
ar(1), ar(5), a.out(5), stab(5) 3rd Berkeley Distribution April 29, 1985 NM(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Loading JDK1.3 on Sparc2.6

I have followed instructions to get the jdk for sparc, 1.3 loaded on this sparc workstation machine. I used a tar file and everything seemed to go fine. The usr/j2se directory was created with all the subdirectories and java files. However, attempting to run Java commands fails with a file not... (18 Replies)
Discussion started by: jamestthomas
18 Replies

2. UNIX for Dummies Questions & Answers

Dns

Greetings to all, I have not been in a unix environment for many years, but I am back. Question is regarding how to setup or check how it's configured is DNS on a SPARCstation 20 runing SunOS 4.1.4 2 sun4m I have a DNS server on the network and would like the sun box to use it for it's name... (22 Replies)
Discussion started by: DLongan
22 Replies

3. UNIX for Dummies Questions & Answers

Unmatched 'then'

I am having a problem with the following statement in a korn shell script: if "$all_recs" = "ALL"; then commands fi; I keep getting the error syntax error at line 999 : 'then' unmatched. I'm sure it is a minor problem, but have been unable to find any answers online. Any help... (22 Replies)
Discussion started by: akpopa
22 Replies

4. UNIX for Dummies Questions & Answers

DISPLAY settiing

How to set the display environment variable through a script? i tried that using "setenv" but it gave me error. is there any idea? :confused: (19 Replies)
Discussion started by: sskb
19 Replies

5. Shell Programming and Scripting

Compare two files and merge columns in a third

Hi, I'm working with snmp, with a little script I'm able to obtain from a switch a list with a couple of values with this format Port Mac 1 00:0A:0B:0C:0D:0E .... (hundred of entries) Now with a simple arp on a router I am able to obtain another list 00:0A:0B:0C:0D:0E... (20 Replies)
Discussion started by: CM64
20 Replies

6. Shell Programming and Scripting

FORMAT OF CSV FILE under unix environment.

hi I unload the table results from oracle to csv file foramt. i need increse the width of each column using unix commands could you pl tell me how to increase the width of each column to spefic width uisng sed unix command or na other unix commands i have file name called report.csv inside... (38 Replies)
Discussion started by: raosurya
38 Replies

7. Shell Programming and Scripting

Replace environment variables with sed

Hi, I need to write a sed that replaces the value of all environment variables that have PASS in the name with ***** . I have a log file who prints the value of all environment variables ,including those who hold passwords. In the name of these variables I found always the PASS string, ex:... (16 Replies)
Discussion started by: liorfe
16 Replies

8. Shell Programming and Scripting

Allignment

Hi All, I want to shift the last and second last line to 8 spaces in the right inside a file. please can somebody suggest a script for the same. Thanks and Best Regards, Shazin (22 Replies)
Discussion started by: Shazin
22 Replies

9. Shell Programming and Scripting

Formatting output alignment

Hi Gurus, I've the following output from my scripting as shown below. 0.48 GB 0.29 GB 0.19 GB 60% 0.48 GB 0.29 GB 0.19 GB 60% 228.90 GB 89.47 GB 139.42 GB 39% 228.76 GB 72.37 GB 156.39 GB 31% Is it possible to format this output into a proper... (16 Replies)
Discussion started by: superHonda123
16 Replies

10. AIX

ORACLE Database running slow on AIX ( nmon / topas )

Hello, How can I know if ORACLE Database is running slow due to Memory or due to processing power ? I have only Oracle Database running on a P4 with 4GB RAM. Could anyone suggest any tools which can help me determine exactly if it is memory issue or processor issue. (43 Replies)
Discussion started by: filosophizer
43 Replies

11. Shell Programming and Scripting

Scanning alignment and "extracting" blocks

I have been thinking how to go around this problem but I just do not find a way to do it. So, I finally decided to ask. I have a real bunch of different sequences of different lenghts aligned in the following format: Now, what I need is a 'window' of let say 10 characters that I have to 'slide'... (19 Replies)
Discussion started by: Xterra
19 Replies

12. UNIX for Dummies Questions & Answers

System snmp service is unavailable

Hello, am working on a suse linux system and trying to connect the server to the monitoring system we use. On checking the logs, i see that the snmp service is unavailable and would appreciate any help on how to fix this. snmpd stop - done snmpd start - done snmpd status - unused (instead... (16 Replies)
Discussion started by: mena
16 Replies

13. Shell Programming and Scripting

Shell script help [was Tanmoy]

Below is the line GMDCOM.27936 : Process Request <36812974> i want to display : Process Request <36812974> in a new file using shell script. Please help me. (24 Replies)
Discussion started by: ghosh_tanmoy
24 Replies

14. UNIX for Dummies Questions & Answers

How to Unmask/Decrypt an XML file?

Hello All, Below is the content of the XML datafile when i do vi the XML file not sure why the content is showing like this, it could be because the data inside the file is masked or something? is there a way i can decrypt or unmask the data in a human readable format? . When i use my Informatica... (20 Replies)
Discussion started by: Ariean
20 Replies

15. UNIX for Advanced & Expert Users

[Discussion] POSIX, the Love of Backticks and All That Jazz

But I love my back-ticks - I know exactly how to escape them (after too many years) - I always seem to end unbalanced with (). However, I shall take the hint. (One more trick for this dog... aka - not too old yet!) :);) (17 Replies)
Discussion started by: MichaelFelt
17 Replies