On Thu, Sep 2, 2010 at 9:56 AM, Paul Heinlein <[email protected]> wrote: > It's more difficult, of course, if the parent process starts up > multiple long-lived forks or threads, but a single-threaded process > won't pose any difficulty.
The '-f' option causes strace to follow forked child processes, so you can attach to the parent before a child with an as-yet-unknown PID spawns. An aside: anybody else been impressed with the ksplice blog? They've had some great articles there. An strace primer: http://blog.ksplice.com/2010/08/strace-the-sysadmins-microscope/ My favorite, debugging a single bit flip memory error: http://blog.ksplice.com/2010/06/attack-of-the-cosmic-rays/ -- Dan Young _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
