Skip to content
Advertisement

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 run in current moment by process? before start of strace.

Advertisement

Answer

proc offers some information about what the kernel is currently doing “for” a process
/proc/${pid}/syscall /proc/${pid}/stack

More information:

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement