On 2015-10-23 12:29, Tomasz Torcz wrote:
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

Wow. It's not the prettiest thing I've seen, but it certainly does the job! Thanks!

--Chris
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to