Hi,

Second request.  I had a bunch of filename.pid outputs from -ff the
other day and to better understand what occurred, I examined and renamed
them to show their ancestry.

    1000.man
    1008.man-preconv
    1009.man-tbl
    1010.man-nroff
    1011.man-col
    1013.man-nroff-locale
    1016.man-nroff-groff
    1018.man-nroff-groff-troff
    1019.man-nroff-groff-grotty

I was thinking something similar could happen automatically.  Not using
the name of the program execve()'d, because that comes later, but a list
of PIDs starting with the ancestor.  So

    strace -o foo -fff /usr/bin/foo

might produce

    foo.100

and as that forks

    foo.100-102

and forks again

    foo.100-102-103

foo.100-109 would be 102's sibling.

It would make it that bit easier when grep-ing through them all, etc.,
to interpret the results.

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to