There are 3 processes
python /usr/local/src/sage/mav/sage/src/doc/common/builder.py --no-pdf-links all html
The dtruss (OSX clone of strace) of
the main one, with children mentioned in wait4() calls,
and the 2 children, also
python /usr/local/src/sage/mav/sage/src/doc/common/builder.py --no-pdf-links all html
are not doing anything at all
is ike this (a snapshot for 30 sec or so, on OSX):
the PID is 51814, and there are 2 threads:
0xa6c13 and 0xa6c88:
51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0
51814/0xa6c13: gettimeofday(0x7FFF55CFFB30, 0x0, 0x4) = 1401289551 0
51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0
51814/0xa6c13: gettimeofday(0x7FFF55CFFB30, 0x0, 0x4) = 1401289551 0
51814/0xa6c88: select(0x0, 0x0, 0x0, 0x0, 0x115E01030) = 0 0
51814/0xa6c88: wait4(0xCADF, 0x115E00420, 0x1) = 0 0
51814/0xa6c88: wait4(0xCADE, 0x115E00420, 0x1) = 0 0
51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0
51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0
51814/0xa6c88: select(0x0, 0x0, 0x0, 0x0, 0x115E01030) = 0 0
51814/0xa6c88: wait4(0xCADF, 0x115E00420, 0x1) = 0 0
51814/0xa6c88: wait4(0xCADE, 0x115E00420, 0x1) = 0 0
51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0
51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0
51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0
51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0
51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0
51814/0xa6c88: select(0x0, 0x0, 0x0, 0x0, 0x115E01030) = 0 0
51814/0xa6c88: wait4(0xCADF, 0x115E00420, 0x1) = 0 0
51814/0xa6c88: wait4(0xCADE, 0x115E00420, 0x1) = 0 0
51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0
51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0
51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0
51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0
51814/0xa6c88: select(0x0, 0x0, 0x0, 0x0, 0x115E01030) = 0 0
51814/0xa6c88: wait4(0xCADF, 0x115E00420, 0x1) = 0 0
51814/0xa6c88: wait4(0xCADE, 0x115E00420, 0x1) = 0 0
51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0
51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0
51814/0xa6c88: select(0x0, 0x0, 0x0, 0x0, 0x115E01030) = 0 0
51814/0xa6c88: wait4(0xCADF, 0x115E00420, 0x1) = 0 0
51814/0xa6c88: wait4(0xCADE, 0x115E00420, 0x1) = 0 0
etc etc
with occasional bursts of:
.........
51814/0xa6c13: psynch_mutexdrop(0x7FEBDA0610C8, 0xFF13003, 0xFF12F00) = 0 0
51814/0xa6c13: psynch_cvsignal(0x7FEBDA061098, 0xE6600000E6700, 0xE6600) = 257 0
51814/0xa6c13: psynch_cvsignal(0x7FEBDA061098, 0xE6700000E6800, 0xE6700) = 257 0
51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0
51814/0xa6c13: psynch_mutexdrop(0x7FEBDA0610C8, 0xFF14203, 0xFF14100) = 0 0
51814/0xa6c13: psynch_cvsignal(0x7FEBDA061098, 0xE6800000E6900, 0xE6800) = 257 0
51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0
51814/0xa6c13: psynch_mutexdrop(0x7FEBDA0610C8, 0xFF15303, 0xFF15200) = 0 0
51814/0xa6c13: psynch_cvsignal(0x7FEBDA061098, 0xE6900000E6A00, 0xE6900) = 257 0
51814/0xa6c13: select(0x0, 0x0, 0x0, 0x0, 0x7FFF55CFFB30) = 0 0
51814/0xa6c13: psynch_mutexdrop(0x7FEBDA0610C8, 0xFF16403, 0xFF16300) = 0 0
51814/0xa6c13: psynch_cvsignal(0x7FEBDA061098, 0xE6A00000E6B00, 0xE6A00) = 257 0
51814/0xa6c88: select(0x0, 0x0, 0x0, 0x0, 0x115E01030) = 0 0
51814/0xa6c88: psynch_mutexwait(0x7FEBDA0610C8, 0xFF17503, 0xFF17300) = 267482371 0
51814/0xa6c88: psynch_cvwait(0x7FEBDA061098, 0xE6B01000E6C00, 0xE6B00) = 0 0
.......
(appears to me like some multithreading stuff going on...)
HTH,
Dima