Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Which sections of a shared library should be loaded in the physical memory? Post 302428965 by Corona688 on Friday 11th of June 2010 10:48:27 AM
Old 06-11-2010
In Linux you can get information on what memory segments are loaded where for a process in /proc/self/maps .
 

10 More Discussions You Might Find Interesting

1. Programming

how to view loaded shared libraries by running processes in linux

anybody knows how to view loaded shared libraries by running processes in linux enviornment? any command or tool ? thanks a lot (3 Replies)
Discussion started by: princelinux
3 Replies

2. Programming

Shared memory in shared library

I need to create a shared library to access an in memory DB. The DB is not huge, but big enough to make it cumbersome to carry around in every single process using the shared library. Luckily, it is pretty static information, so I don't need to worry much about synchronizing the data between... (12 Replies)
Discussion started by: DreamWarrior
12 Replies

3. UNIX for Advanced & Expert Users

Library not loaded?

I am trying to install a scientific program onto my mac and when i try and execute it this error comes up and i cant find any literature on the net to fix it... dyld: Library not loaded: /usr/local/lib/libgfortran.2.dylib Referenced from:... (4 Replies)
Discussion started by: olifu02
4 Replies

4. AIX

Wrong Shared objects getting loaded

I have two envoirmets(Envoirment A and Envoirment B) running on same server(AIX vesion 5.3).Both have different groups.I am facing a strange problem.Shared objects of one envoirment (Envoirment A)are getting loaded into the second(Envoirment B).So the servers that have dependency on shared objects... (2 Replies)
Discussion started by: nitin@tcs
2 Replies

5. Programming

Shared memory for shared library

I am writing a shared library in Linux (but compatible with other UNIXes) and I want to allow multiple instances to share a piece of memory -- 1 byte is enough. What's the "best" way to do this? I want to optimize for speed and portability. Obviously, I'll have to worry about mutual exclusion. (0 Replies)
Discussion started by: otheus
0 Replies

6. Solaris

How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9

Hi, Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:- 1. Total Physical Memory in the system(total RAM). 2. Available Physical Memory(i.e. RAM Usage) 3. Total (Logical) Memory in the system 4. Available (Logical) Memory. I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies

7. Solaris

restrcit physical memory with zone.max-locked-memory

Is it possible to restrict physical memory in solaris zone with zone.max-locked-memory just like we can do with rcapd ? I do not want to used rcapd (1 Reply)
Discussion started by: fugitive
1 Replies

8. AIX

Problem with AIX: shared libraries aren't loaded

Hello guys, I have a trouble when running an application in AIX, I've compiled and the LIBRARY_PATH seems ok, but I get the following message: rtld: 0712-001 Symbol __pthread was referenced from module main_app(), but a runtime definition of the symbol was not found ldd... (4 Replies)
Discussion started by: edgarvm
4 Replies

9. AIX

Loaded Shared Libraries

Hi, I have a problem about loaded shared libraries. I'm issuing ‘procldd' for a process and AIX shows me the loaded shared libraries. I'm collecting these libraries and counting their size. They were 350MB. After this, I'm issuing ‘ps vx' and I'm seeing that the process takes 130MB from AIX's... (1 Reply)
Discussion started by: jhatzics
1 Replies

10. Programming

Shared library with acces to shared memory.

Hello. I am new to this forum and I would like to ask for advice about low level POSIX programming. I have to implement a POSIX compliant C shared library. A file will have some variables and the shared library will have some functions which need those variables. There is one special... (5 Replies)
Discussion started by: iamjag
5 Replies
elfdump(1)                                                         User Commands                                                        elfdump(1)

NAME
elfdump - dumps selected parts of an object file SYNOPSIS
elfdump [-cCdegGhHiklmnprsuvy] [-N name] [-w file] filename... DESCRIPTION
The elfdump utility symbolically dumps selected parts of the specified object file(s). The options allow specific portions of the file to be displayed. The elfdump utility is similar in function to the dump(1) utility. The dump utility offers an older and less user-friendly interface than elfdump, although dump might be more appropriate for certain uses such as in shell scripts. Archive files, produced by ar(1), can also be inspected with elfdump. In this case, each object within the archive is processed using the options supplied. For a complete description of the displayed information, refer to the Linker and Libraries Guide. OPTIONS
The following options are supported: -c Dumps section header information. -C Demangles C++ symbol names. -d Dumps the contents of the .dynamic section. -e Dumps the ELF header. -g Dumps the contents of the .group section. -G Dumps the contents of the .got section. -h Dumps the contents of the .hash section. -H Dumps the contents of the .SUNW_cap hardware and software capabilities section. -i Dumps the contents of the .interp section. -k Calculates the ELF checksum. See gelf_checksum(3ELF). -l Displays long section names without truncation. -m Dumps the contents of the .SUNW_move section. -n Dumps the contents of the .note section. -N name Qualifies an option with a specific name. For example, in a file that contains more than one symbol table, the .dynsym ta- ble can be displayed using: example% elfdump -s -N .dynsym filename -p Dumps the program headers. -r Dumps the contents of the .rel[a] relocation sections. -s Dumps the contents of the .dynsym and .symtab symbol table sections. For archives, the archive symbol table is also dumped. Individual sections can be specified with the -N option. An archive symbol table can be specified using the special section name -N ARSYM. In the case of core files, the shndx field will have the value "unknown" since the field does not contain the valid values. In addition to the standard symbol table information, the version definition index of the symbol is also provided under the ver heading. -u Dumps the contents of a frame unwind. -v Dumps the contents of the .SUNW_version version sections. -w file Writes the contents of a section that is specified with the -N option, to the named file. For example, extracting the .text section of a file can be carried out with: example% elfdump -w text.out -N .text filename -y Dumps the contents of the .SUNW_syminfo section. OPERANDS
The following operand is supported: filename The name of the specified object file. FILES
liblddbg.so linker debugging library ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWbtool | +-----------------------------+-----------------------------+ |Interface Stability |Stable | +-----------------------------+-----------------------------+ SEE ALSO
ar(1), dump(1), nm(1), pvs(1), elf(3ELF), attributes(5) Linker and Libraries Guide SunOS 5.10 4 Oct 2004 elfdump(1)
All times are GMT -4. The time now is 02:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy