Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- yn015780@woodpecker:~/Documents/OS$ strace -e trace=process,pipe -f ./pipes
- execve("./pipes", ["./pipes"], [/* 57 vars */]) = 0
- arch_prctl(ARCH_SET_FS, 0x7f75bfb4b700) = 0
- pipe([3, 4]) = 0
- clone(Process 20833 attached
- child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f75bfb4b9d0) = 20833
- [pid 20833] execve("/bin/ls", ["ls"], [/* 57 vars */]) = 0
- [pid 20832] execve("/bin/wc", ["wc", "-l"], [/* 57 vars */]) = -1 ENOENT (No such file or directory)
- [pid 20832] execve("/usr/bin/wc", ["wc", "-l"], [/* 57 vars */]) = 0
- [pid 20832] arch_prctl(ARCH_SET_FS, 0x7f5ef1564700) = 0
- [pid 20833] arch_prctl(ARCH_SET_FS, 0x7eff614eb7c0) = 0
- [pid 20833] exit_group(0) = ?
- Process 20833 detached
- --- SIGCHLD (Child exited) @ 0 (0) ---
- 12
- exit_group(0) = ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement