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: