Skip to main content
16 events
when toggle format what by license comment
Jul 6, 2018 at 7:50 history edited robor CC BY-SA 4.0
added 77 characters in body
Jul 5, 2018 at 20:45 history edited slm
edited tags
Jul 5, 2018 at 15:07 history edited slm CC BY-SA 4.0
deleted 3 characters in body
Jul 5, 2018 at 15:05 answer added slm timeline score: 4
Jul 5, 2018 at 14:59 comment added slm Related - unix.stackexchange.com/questions/124127/….
Jul 5, 2018 at 12:56 comment added steeldriver Yeah or see How to track child process using strace?
Jul 5, 2018 at 12:53 comment added doneal24 Maybe strace -f -e execve ./myprogram ? Doesn't have the problem of trying to shell out another command before your program actually exits.
Jul 5, 2018 at 12:46 history edited robor CC BY-SA 4.0
added 462 characters in body
Jul 5, 2018 at 12:37 comment added robor @steeldriver I tried that. The output is user-> ./myprog & pstree -p $! [2] 25769 myprog(25769) user-> pstree -p 25769 [2]+ Done ./myprog
Jul 5, 2018 at 12:24 comment added steeldriver Well you could background the parent, and use $! to immediately get its PID to pass to pstree e.g. ./yourprog & pstree -p $!
Jul 5, 2018 at 12:13 comment added robor How should I employ pstree? The program I'm analysing finishes in under a second. pstree shows running processes. I'm looking for something that logs the spawned processes as the program runs.
Jul 5, 2018 at 12:08 comment added steeldriver Have you tried pstree?
S Jul 5, 2018 at 11:52 history suggested Siva CC BY-SA 4.0
formatting
Jul 5, 2018 at 11:51 review Suggested edits
S Jul 5, 2018 at 11:52
Jul 5, 2018 at 11:47 review First posts
Jul 5, 2018 at 11:51
Jul 5, 2018 at 11:42 history asked robor CC BY-SA 4.0