[systemd-devel] [PATCH v5] systemd-analyze: filter dot output

Lennart Poettering lennart at poettering.net
Mon Apr 8 10:43:37 PDT 2013


On Sat, 06.04.13 15:40, Łukasz Stelmach (stlman at poczta.fm) wrote:

> Make "systemd-analyze dot" output only lines with units matching
> given glob(7) patterns. Add --from-pattern and --to-pattern options.
> Without any patterns all relationships are printed as before.
> 
> A relationship must match the follwing expression:
> 
>     (isempty(from) || from[0] || from[1] || .. || from[n]) &&
>     (isempty(to) || to[0] || to[1] || .. || to[n]) &&
>     (isempty(P) || P[0] || P[1] || ... || P[n])
> 
> where from[] and to[] are lists of patterns provided with subsequent
> --from-pattern and --to-pattern respectively. P[] is a list of  additional
> patterns provided after the "dot" subcommand.

Thanks!

Applied!

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list