Reference
show libs
Available since
- HAProxy 2.6
- HAProxy Enterprise 2.6r1
Display information about shared dynamic libraries and object files.
Description Jump to heading
On systems that support the operation, dump the list of loaded shared dynamic libraries and object files.
Where available, show the range of virtual addresses, including the size and the path to the object. This information can be useful for determining, for example, which library provides a function that appears in a dump.
Note that on many systems, addresses change upon each restart (address space randomization). Consequently, you need to retrieve this list again after each restart if you intend to use it to help analyze a core file.
Note that the output format may vary between operating systems, architectures and even product versions, and therefore cannot be relied upon in scripts.
This command may only be issued on sockets configured for levels operator
or admin
.
Examples Jump to heading
nix
echo "show libs" | \sudo socat stdio tcp4-connect:127.0.0.1:9999
nix
echo "show libs" | \sudo socat stdio tcp4-connect:127.0.0.1:9999
outputtext
0x55e8a459f000-0x55e8a4b80047 (0x05e1048) /opt/hapee-3.0/sbin/hapee-lb0x7f0558bbb000-0x7f0558bf52c7 (0x003a2c8) /lib/x86_64-linux-gnu/libcrypt.so.10x7f0558bb5000-0x7f0558bba10f (0x0005110) /lib/x86_64-linux-gnu/libdl.so.20x7f0558bab000-0x7f0558bb4bdf (0x0009be0) /lib/x86_64-linux-gnu/librt.so.10x7f0558b89000-0x7f0558baa46f (0x0021470) /lib/x86_64-linux-gnu/libpthread.so.00x7f0558af6000-0x7f0558b8892f (0x0092930) /lib/x86_64-linux-gnu/libssl.so.1.10x7f0558801000-0x7f0558af5fcf (0x02f4fd0) /lib/x86_64-linux-gnu/libcrypto.so.1.10x7f05586bb000-0x7f05587fe10f (0x0143110) /lib/x86_64-linux-gnu/libm.so.60x7f0558606000-0x7f05586ba50f (0x00b4510) /lib/x86_64-linux-gnu/libsystemd.so.00x7f055856e000-0x7f05586053a7 (0x00973a8) /lib/x86_64-linux-gnu/libpcre2-8.so.00x7f0558542000-0x7f055856d59f (0x002b5a0) /opt/hapee-3.0/usr/lib/libopentracing-c-wrapper.so.00x7f0558528000-0x7f0558541447 (0x0019448) /lib/x86_64-linux-gnu/libgcc_s.so.10x7f0558353000-0x7f055852767f (0x01d4680) /lib/x86_64-linux-gnu/libc.so.60x7f0558bfc000-0x7f0558c28177 (0x002c178) /lib64/ld-linux-x86-64.so.20x7f0558329000-0x7f055835028f (0x0027290) /lib/x86_64-linux-gnu/liblzma.so.50x7f055824e000-0x7f0558328037 (0x00da038) /lib/x86_64-linux-gnu/libzstd.so.10x7f055822b000-0x7f055824d17f (0x0022180) /lib/x86_64-linux-gnu/liblz4.so.10x7f055810b000-0x7f055822afb7 (0x011ffb8) /lib/x86_64-linux-gnu/libgcrypt.so.200x7f05580f0000-0x7f055810abff (0x001ac00) /opt/hapee-3.0//usr/lib/libopentracing.so.10x7f0557f21000-0x7f05580ed7ff (0x01cc800) /lib/x86_64-linux-gnu/libstdc++.so.60x7f0557efb000-0x7f0557f201cf (0x00251d0) /lib/x86_64-linux-gnu/libgpg-error.so.00x7f05575c4000-0x7f05575d7737 (0x0013738) /lib/x86_64-linux-gnu/libnss_files.so.2
outputtext
0x55e8a459f000-0x55e8a4b80047 (0x05e1048) /opt/hapee-3.0/sbin/hapee-lb0x7f0558bbb000-0x7f0558bf52c7 (0x003a2c8) /lib/x86_64-linux-gnu/libcrypt.so.10x7f0558bb5000-0x7f0558bba10f (0x0005110) /lib/x86_64-linux-gnu/libdl.so.20x7f0558bab000-0x7f0558bb4bdf (0x0009be0) /lib/x86_64-linux-gnu/librt.so.10x7f0558b89000-0x7f0558baa46f (0x0021470) /lib/x86_64-linux-gnu/libpthread.so.00x7f0558af6000-0x7f0558b8892f (0x0092930) /lib/x86_64-linux-gnu/libssl.so.1.10x7f0558801000-0x7f0558af5fcf (0x02f4fd0) /lib/x86_64-linux-gnu/libcrypto.so.1.10x7f05586bb000-0x7f05587fe10f (0x0143110) /lib/x86_64-linux-gnu/libm.so.60x7f0558606000-0x7f05586ba50f (0x00b4510) /lib/x86_64-linux-gnu/libsystemd.so.00x7f055856e000-0x7f05586053a7 (0x00973a8) /lib/x86_64-linux-gnu/libpcre2-8.so.00x7f0558542000-0x7f055856d59f (0x002b5a0) /opt/hapee-3.0/usr/lib/libopentracing-c-wrapper.so.00x7f0558528000-0x7f0558541447 (0x0019448) /lib/x86_64-linux-gnu/libgcc_s.so.10x7f0558353000-0x7f055852767f (0x01d4680) /lib/x86_64-linux-gnu/libc.so.60x7f0558bfc000-0x7f0558c28177 (0x002c178) /lib64/ld-linux-x86-64.so.20x7f0558329000-0x7f055835028f (0x0027290) /lib/x86_64-linux-gnu/liblzma.so.50x7f055824e000-0x7f0558328037 (0x00da038) /lib/x86_64-linux-gnu/libzstd.so.10x7f055822b000-0x7f055824d17f (0x0022180) /lib/x86_64-linux-gnu/liblz4.so.10x7f055810b000-0x7f055822afb7 (0x011ffb8) /lib/x86_64-linux-gnu/libgcrypt.so.200x7f05580f0000-0x7f055810abff (0x001ac00) /opt/hapee-3.0//usr/lib/libopentracing.so.10x7f0557f21000-0x7f05580ed7ff (0x01cc800) /lib/x86_64-linux-gnu/libstdc++.so.60x7f0557efb000-0x7f0557f201cf (0x00251d0) /lib/x86_64-linux-gnu/libgpg-error.so.00x7f05575c4000-0x7f05575d7737 (0x0013738) /lib/x86_64-linux-gnu/libnss_files.so.2
Do you have any suggestions on how we can improve the content of this page?