Трассировать только конкретные syscall strace
Фильтровать только syscall связанные с файлами
strace -e trace=openat,read,write curl https://example.com
more strace
all 13 commands →
Статистика syscall
strace -c -e trace=all python3 app.py
Следовать за дочерними процессами
strace -f -e trace=process nginx -t
Показать временны́е метки
strace -tt -T curl https://example.com 2>&1 | head -40
Трассировать доступ к файлам
strace -e trace=openat -e trace=file myapp 2>&1 | grep 'ENOENT'
Трассировать сетевые syscall
strace -e trace=network,socket curl https://example.com 2>&1 | grep -v '^---'