Top "Strace" questions

strace is a Linux/UNIX tool for logging and analysing the system calls made by a user-side process.

How does ptrace work in Linux?

The ptrace system call allows the parent process to inspect the attached child. For example, in Linux, strace (which is …

c linux debugging strace ptrace
How to use strace to only show calls that take a lot of time?

Is there a way to grep for only calls that over a certain amount of time?

debugging strace
How to see system call that executed in current time by process?

Linux utility "strace" show the list of syscall that started after run of strace. How I can see syscall that …

linux strace
How to parse strace in shell into plain text?

I've trace log generated by strace command like on running PHP by: sudo strace -e sendto -fp $(pgrep -n php) …

shell parsing escaping strace
Difference between ptrace(PTRACE_PEEKUSER) and ptrace(PTRACE_PEEKDATA)?

After posting a lot of questions on ptrace (the most recent 5 questions are mine :( ) I finally got the desired output …

c system-calls strace ptrace
Identifying file causing hang from strace

I have a GTK program running on Ubuntu 10.04 that hangs in interruptible state, and I'd like to understand the output …

memory gtk ubuntu-10.04 strace
how strace php-fpm process?

I am using nginx+php-fpm for php environment and I want to strace the php script execute,but there are …

php strace
strace a python function

Is it possible to strace a python function for opened files, and differentiate if they were opened by python or …

python strace