ltrace
Display dynamic library calls of a process. More information: <https://manned.org/ltrace>.
Install
- All systems
-
curl cmd.cat/ltrace.sh
- Debian
-
apt-get install ltrace
- Ubuntu
-
apt-get install ltrace
- Alpine
-
apk add ltrace
- Arch Linux
-
pacman -S ltrace
- Kali Linux
-
apt-get install ltrace
- CentOS
-
yum install ltrace
- Fedora
-
dnf install ltrace
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install ltrace
- Raspbian
-
apt-get install ltrace
- Dockerfile
- dockerfile.run/ltrace
- Docker
-
docker run cmd.cat/ltrace ltrace
powered by Commando
Display dynamic library calls of a process. More information: <https://manned.org/ltrace>.
-
Print (trace) library calls of a program binary:
ltrace ./program
-
Count library calls. Print a handy summary at the bottom:
ltrace -c path/to/program
-
Trace calls to malloc and free, omit those done by libc:
ltrace -e [email protected]* path/to/program
-
Write to file instead of terminal:
ltrace -o file path/to/program
© tl;dr; authors and contributors