Exemple d’utilisation avec suivi des fils :
$ strace -f bash
...
getgid32() = 1000
access("/bin/cat", R_OK) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
pipe([3, 4]) = 0
clone( child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7594728) = 4724
Process 4724 attached
[pid 4723] setpgid(4724, 4724) = 0
[pid 4723] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[pid 4724] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[pid 4723] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
...
[pid 4724] execve("/bin/cat", ["cat", "/etc/hosts"], [/* 28 vars */]) = 0
...
[pid 4724] open("/etc/hosts", O_RDONLY|O_LARGEFILE) = 3