Shangrila
Mind stream
Tuesday, November 25, 2014
Using strace
Trace system calls from a process and all its children and threads:
sudo strace -f -p 3914 2>&1 | grep -vE 'clock_gettime|SIGSTOP|gettime|epoll|futex|restart' | head -10000 | less
-f: track forked
-p: parent PID
grep: remove fast, unimportant calls
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment