02-07-2011
Understanding nm command output
After running nm command on any object file from out put can we get to know that wheather a symbol is a call to a function or definition of function ?
I am searching a class and function definitions inside many .so files.
I have 3 files which contain the symbol but I don't know wheather they are calling that function and class or they actually define it.
The command I am using is -
nm libmonitor.so | grep "ETD"
here ETD is the class I am looking for.
10 More Discussions You Might Find Interesting
1. OS X (Apple)
Hi -
Trying to understand a few things from an ifconfig -a output - can't seem to find info anywhere on the net.
Specifically - looking to understand the following:
Flags=8863
Smart
Running (is this the same as UP)
Simplex
inet6
supported media: autoselect - does that imply the... (1 Reply)
Discussion started by: littlefrog
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I am having some problems understanding the info from the following output:
Disk /dev/sda: 17849 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sda1 *... (5 Replies)
Discussion started by: mojoman
5 Replies
3. Shell Programming and Scripting
hi
i was moving a file from one directory to another with the following cmmand
mv /home/hsghh/dfd/parent/file.txt .
while doing so i i accidently
mv /home/hsghh/dfd/dfd .
although i gave ctrl c and terminate the move command some of the file are missing in the parent directory and... (1 Reply)
Discussion started by: saravanan71184
1 Replies
4. UNIX for Dummies Questions & Answers
Could you please explain me whats happening in the below code, appreciate your help, Thank you.
/product/apps/informatica/v7/pc/ExtProc/NewDAC/dacRecBuilder.sh
/product/apps/informatica/v7/pc/TgtFiles/NEW_DAC/DAC_Pos_TradeInv_Records.out ... (5 Replies)
Discussion started by: Ariean
5 Replies
5. Shell Programming and Scripting
ok, so I have a script im running on a linux box that uses "egrep" a lot. now, when i run this script, i check the TOP to see how much system resource it is using.
the "top" command gives the following output:
last pid: 25384; load avg: 1.06, 1.04, 0.76; up 351+06:30:24 ... (0 Replies)
Discussion started by: SkySmart
0 Replies
6. Solaris
Hi
I have a questions related 2 commands : 'du' and 'ls'.
Why is the difference between output of 'du' and 'ls' cmd's ?
Command 'du' :
------------------
jakubn@server1 /home/jakubn $ du -s *
4 engine.ksh
1331 scripts
'du -s *' ---> shows block count size on disk (512 Bytes... (5 Replies)
Discussion started by: presul
5 Replies
7. Shell Programming and Scripting
Hi all,
First time post, so please be gentle. :)
I'm writing a Solaris 10 ksh script to retrieve details of logins and logouts using specific user names. The details I want are quite basic - the username, the computer logged in from, and the date and time the user logged in and logged off.... (6 Replies)
Discussion started by: confusedAdmin
6 Replies
8. Red Hat
I ran the following command.
cat abc.c > abc.c
I got message the following message from command cat:
cat: abc.c : input file is same as the output file
How the command came to know of the destination file name as the command is sending output to standard file. (3 Replies)
Discussion started by: ravisingh
3 Replies
9. UNIX for Advanced & Expert Users
Hello,
Been looking through Google, and I don't see a direct answer to this:
# last
...
abcd pts/1 srever02 Mon Feb 23 07:56 - 07:56 (00:00)
abcd sshd server02 Mon Feb 23 07:56 - 07:56 (00:00)
klmn sshd ... (2 Replies)
Discussion started by: kitykitykity
2 Replies
10. Shell Programming and Scripting
I am using UNIX to create a script on our system. I have setup my commands to append their output to an outage file. However, some of the commands return no output and so I would like something to take their place.
What I need
The following command is placed at the prompt:
TICLI... (4 Replies)
Discussion started by: jbrass
4 Replies
ldd_pa(1) General Commands Manual ldd_pa(1)
NAME
ldd_pa: ldd - list dynamic dependencies of executable files or shared libraries on PA-RISC systems
SYNOPSIS
filename...
Remarks
This manpage describes on PA-RISC systems. For on Integrity systems, see ldd_ia(1).
DESCRIPTION
is a command that can list the dynamic dependencies of incomplete executable files or shared libraries.
lists verbose information about dynamic dependencies and symbol references. If the object file is an executable file, lists all shared
libraries that would be loaded as a result of executing the file. If it is a shared library, lists all shared libraries that would be
loaded as a result of loading the library.
uses the same algorithm as the dynamic loader and to locate the shared libraries. See and sections in dld.sl(5) for more information.
Options
recognizes the following options:
PA-RISC 32-bit only.
Used in conjunction with and/or to force to bind all dependent libraries and report unsats. By default the smartbind mechanism
in only binds libraries whose symbols are explicitly referenced.
Check reference to data symbols.
Check reference to data and code symbols.
Display the search path used to locate the shared libraries.
Display all dependency relationships.
EXTERNAL INFLUENCES
Environment Variables
uses the following environment variables to locate shared libraries.
PA-RISC 64-bit mode:
A colon-separated list of path names which defines the search path for shared libraries at runtime. See in dld.sl(5) for more
information.
A colon-separated or space-separated list of libraries which the dynamic
loader implicitly loads first at runtime. See in dld.sl(5) for more information.
A colon-separated list of path names which defines the search path for
shared libraries at runtime. See and in dld.sl(5) for more information.
The following internationalization variables affect the execution of
Determines the locale category for native language, local customs and
coded character set in the absence of and other environment variables. If is not specified or is set to the empty string, a default
of (see lang(5)) is used instead of
Determines the values for all locale categories and has precedence over
and other environment variables.
Determines the locale that should be used to affect the format
and contents of diagnostic messages written to standard error.
Determines the locale category for numeric formatting.
Determines the locale category for character handling functions.
Determines the location of message catalogs for the processing
of
If any internationalization variable contains an invalid setting, behaves as if all internationalization variables are set to See envi-
ron(5).
DIAGNOSTICS
prints the record of shared library path names to stdout. The optional list of symbol resolution problems are printed to stderr.
returns zero when the operation is successful. A non-zero return code indicates that an error occurred.
EXAMPLES
By default prints a simple dynamic path information. This consists of the dependencies recorded in the executable (or the shared library)
followed by the physical location where these libraries are found.
The option causes to print dependency relationship along with the dynamic path information.
The option causes to analyze all symbol references and print information about unsatisfied code and data symbols.
The option causes to print the dynamic search path lists used to load the libraries in the order that the path lists are referenced:
WARNINGS
does not list shared libraries explicitly loaded using dlopen(3C) or shl_load(3X).
FILES
output file
32-bit PA-RISC dynamic loader
64-bit PA-RISC dynamic loader
32-bit dummy executable loaded to check the dependencies of shared libraries.
64-bit dummy executable loaded to check the dependencies of shared libraries.
message catalog
SEE ALSO
System Tools
ld(1) invoke the link editor
Miscellaneous
a.out(4) assembler, compiler, and linker output
dld.sl(5) PA-RISC dynamic loader
Texts and Tutorials