Ubuntu Pastebin

Paste from mkelogg at Wed, 15 Mar 2017 21:51:11 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
mk@mk-W230SS:~$ strace -f -e trace=process,pipe  ./question1
execve("./question1", ["./question1"], [/* 62 vars */]) = 0
arch_prctl(ARCH_SET_FS, 0x7fa93b1e9700) = 0
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fa93b1e99d0) = 7979
strace: Process 7979 attached
[pid  7978] execve("/home/mk/bin/wc", ["wc", "-l"], [/* 62 vars */]) = -1 ENOENT (No such file or directory)
[pid  7978] execve("/home/mk/.local/bin/wc", ["wc", "-l"], [/* 62 vars */]) = -1 ENOENT (No such file or directory)
[pid  7978] execve("/usr/local/sbin/wc", ["wc", "-l"], [/* 62 vars */] <unfinished ...>
[pid  7979] execve("/home/mk/bin/ls", ["ls"], [/* 62 vars */] <unfinished ...>
[pid  7978] <... execve resumed> )      = -1 ENOENT (No such file or directory)
[pid  7979] <... execve resumed> )      = -1 ENOENT (No such file or directory)
[pid  7978] execve("/usr/local/bin/wc", ["wc", "-l"], [/* 62 vars */] <unfinished ...>
[pid  7979] execve("/home/mk/.local/bin/ls", ["ls"], [/* 62 vars */] <unfinished ...>
[pid  7978] <... execve resumed> )      = -1 ENOENT (No such file or directory)
[pid  7979] <... execve resumed> )      = -1 ENOENT (No such file or directory)
[pid  7978] execve("/usr/sbin/wc", ["wc", "-l"], [/* 62 vars */] <unfinished ...>
[pid  7979] execve("/usr/local/sbin/ls", ["ls"], [/* 62 vars */] <unfinished ...>
[pid  7978] <... execve resumed> )      = -1 ENOENT (No such file or directory)
[pid  7979] <... execve resumed> )      = -1 ENOENT (No such file or directory)
[pid  7978] execve("/usr/bin/wc", ["wc", "-l"], [/* 62 vars */] <unfinished ...>
[pid  7979] execve("/usr/local/bin/ls", ["ls"], [/* 62 vars */]) = -1 ENOENT (No such file or directory)
[pid  7979] execve("/usr/sbin/ls", ["ls"], [/* 62 vars */]) = -1 ENOENT (No such file or directory)
[pid  7979] execve("/usr/bin/ls", ["ls"], [/* 62 vars */] <unfinished ...>
[pid  7978] <... execve resumed> )      = 0
[pid  7979] <... execve resumed> )      = -1 ENOENT (No such file or directory)
[pid  7979] execve("/sbin/ls", ["ls"], [/* 62 vars */]) = -1 ENOENT (No such file or directory)
[pid  7979] execve("/bin/ls", ["ls"], [/* 62 vars */]) = 0
[pid  7978] arch_prctl(ARCH_SET_FS, 0x7f618d3db700) = 0
[pid  7979] arch_prctl(ARCH_SET_FS, 0x7faa196a7800) = 0
[pid  7979] exit_group(0)               = ?
[pid  7979] +++ exited with 0 +++
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7979, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
11
exit_group(0)                           = ?
+++ exited with 0 +++
Download as text