[systemd-devel] Create complete dependency/boot organization map?

Tomasz Torcz tomek at pipebreaker.pl
Fri Oct 23 09:29:08 PDT 2015


On Fri, Oct 23, 2015 at 12:02:18PM -0400, Chris Bell wrote:
> Hi all,
> 
> I was wondering, is there any way to create a complete
> dependency/ordering map for my entire systemd system? Basically, I'd
> like to be able to see, relatively clearly, what targets are reached and
> when, what services are wanted/required by the target, and some
> dependencies between services. A way to visualize the chain from
> switch-root.target and default.target. 
> 
> I know various functions exist to extract portions of the information I
> need, and they can be used together to get a complete picture, but I
> find it difficult to keep everything organized into something ultimately
> useful. Is there a facility I'm missing? Or is this particular ability
> too complex to be worth implementing? 


  Check "systemd-analyze dot".  If you pipe the output through "dot" program,
you will get graphical map similar to this:
http://dżogstaff.pipebreaker.pl/2012.03.08-targets.png

-- 
Tomasz Torcz                 "God, root, what's the difference?"
xmpp: zdzichubg at chrome.pl         "God is more forgiving."



More information about the systemd-devel mailing list