Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ How to view the Linux program or process used in the library     - Protection Docker container Notice (Server)

- Implement firewall function on a closed Linux machine (Linux)

- Gitblit adopted Ticket collaborative development model (Linux)

- MySQL optimization of the relevant Group By (Database)

- Linux firewall anti-hacker disguise malicious attacks (Linux)

- Linux system ARP attack solution (Linux)

- JDK comes with tools jinfo (Linux)

- Detailed usage history command (Linux)

- Python3 multi-thread download codes (Programming)

- MySQL Parameter Tuning Best Practices (Database)

- Storm how to ensure that at least once semantics (Programming)

- Android media library of analysis: MediaProvider (Programming)

- cursor_sharing induced error ORA-00600 (Database)

- systemctl Command Complete Guide (Linux)

- How to adjust the system time CentOS (Linux)

- jQuery update the content and method of use 3.0 (Programming)

- Oracle table compression Technology Introduction (Database)

- Varnish achieve page jump (Server)

- Windows Server 2012 R2 Datacenter install SQL Server 2016 CTP (Database)

- ADSL router to defend their own network security methods (Linux)

  How to view the Linux program or process used in the library
  Add Date : 2018-11-21      
  Question: I would like to know when I call a specific executable files loaded at runtime which shared libraries. Is there a way to clear the Linux shared library executables or running process dependencies?

View executable shared library dependencies

To find a particular executable dependent libraries, you can use the ldd command. This command calls the dynamic linker to find a program library file dependencies.

$ Ldd / path / to / program

note! It does not recommend any third-party untrusted executables run ldd, because some versions of ldd may directly call the executable program to clarify its library dependencies, so that may be unsafe.

Instead, use a more secure way to display an unknown application binary library file dependency, use the following command:

$ Objdump -p / path / to / program | grep NEEDED

View running processes shared library dependencies

If you want to find is a running process to load shared libraries, you can use pldd command, which will show at run time is loaded in a process all shared objects.

$ Sudo pldd < PID>
Note that you need root privileges to perform pldd command.

Alternatively, you can select a pmap command-line tool is called. It reports the memory map of a process, but also to show the process of running the library dependencies.

$ Sudo pmap < PID>
- C / C ++ various data types Conversion Summary (Programming)
- Linux directory configuration (Linux)
- Virtual Judge environment to build and configure under Ubuntu (Server)
- OpenvSwitch 2.1.2 shell script to start and stop (Linux)
- IBM Data Studio to use ---- window displays all rows (Database)
- HBase table data processing tab (Database)
- Two classic macro definition under Linux (Linux)
- How to create a binary distribution with Bash (Linux)
- Axel install plug under CentOS 5/6 acceleration yum downloads (Linux)
- LAMP environment to build Apache, MySQL, PHP under Ubuntu (Server)
- Manually compile Hadoop 2.6.0 under Ubuntu 14.04 (Server)
- After you change the GRUB boot disk partition repair (Linux)
- Linux hybrid character device (Linux)
- ARM constant expression (Programming)
- Linux Telnet access Windows 7 configuration procedure (Linux)
- RT-11SJ run at ambient PDP-11 MACRO-11 assembly (Programming)
- Linux screen command (Linux)
- CentOS of NFS (Server)
- Jigsaw project will solve the problem of Java JAR hell Mody (Programming)
- How to deploy Icinga client (Server)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.