Advertisement
Guest User

Untitled

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