Am 28.09.2011 05:12, schrieb email@example.com:
> Florian Philipp <firstname.lastname@example.org> [11-09-28 04:05]:
>> Am 27.09.2011 20:24, schrieb email@example.com:
>>> ist there a tool, which displays the dependencies of loaded modules as
>>> a tree like pstree does for tasks?
>>> Thank you very much for any help in advance!
>>> Best regards
>> Well, it's not a tool and it cannot print to terminal but you might want
>> to try out the bash skript below. It depends on media-gfx/graphviz to
>> create a postscript file visualizing the dependencies. The file will be
>> opened by your default postscript viewer (evince, okular, etc.).
> Hi Florian,
> thank you for your mail and the script.
> Unfortunately this is a little of a Lambourghini
> solution where a bicycle would completly suffice...
> I had searched for a terminal related tool as pstree.
> Best regards,
The problem with doing this non-graphically is that module dependencies
do not form a tree. They form a graph (multiple parents per child,
multiple childs per parent). Visualizing this likely exceeds the graphic
capabilities of terminals (you note that even with graphviz' advanced
automatic arrangement, there are still lines that cross half the image).
You could still create a tree, but only by making most modules appear