X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd-analyze.xml;h=1898ca6fb194e24f407e8dcd405ac66ab64549fd;hb=6da49b8b2f78fd74bb33de961ef8a4c7f727b822;hp=f5a94242480163b82741fb1954a88c0874b0054c;hpb=e9dd9f9547350c7dc0473583b5c2228dc8f0ab76;p=elogind.git diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml index f5a942424..1898ca6fb 100644 --- a/man/systemd-analyze.xml +++ b/man/systemd-analyze.xml @@ -81,6 +81,18 @@ OPTIONS dot PATTERN + > file.dot + + + systemd-analyze + OPTIONS + dump + + + systemd-analyze + OPTIONS + set-log-level + LEVEL @@ -88,8 +100,9 @@ Description systemd-analyze may be used - to determine system boot-up performance of the current - boot. + to determine system boot-up performance statistics and + retrieve other state and tracing information from the + system and service manager. systemd-analyze time prints the time spent in the kernel before @@ -127,7 +140,7 @@ been started at what time, highlighting the time they spent on initialization. - systemd-analyze dot Generate + systemd-analyze dot generates textual dependency graph description in dot format for further processing with the GraphViz dot1 @@ -143,6 +156,20 @@ any of these patterns match either the origin or destination node. + systemd-analyze dump outputs + a (usually very long) human-readable serialization of + the complete server state. Its format is subject to + change without notice and should not be parsed by + applications. + + systemd-analyze set-log-level + LEVEL changes the + current log level of the systemd + daemon to LEVEL (accepts + the same values as + described in + systemd1). + If no command is passed, systemd-analyze time is implied. @@ -170,6 +197,36 @@ manager. + + + + Shows performance data + of the system manager. This is the + implied default. + + + + + + + Execute the operation + remotely. Specify a hostname, or + username and hostname separated by + @, to connect + to. This will use SSH to talk to the + remote machine manager + instance. + + + + + + + Execute the operation on a + local container. Specify a container + name to connect to. + + @@ -179,12 +236,12 @@ dot command (see above), selects which dependencies are shown in the dependency graph. If - is passed + is passed, only dependencies of type After= or Before= are shown. If - is passed only dependencies of type + is passed, only dependencies of type Requires=, RequiresOverridable=, Requisite=, @@ -228,6 +285,14 @@ unless specified with a different unit, e.g. "50ms". + + + + + + Do not pipe output into a pager. + + @@ -250,12 +315,30 @@ $ eog avahi.svg This plots the dependencies between all known target units: - systemd-analyze dot --to-pattern='*.target' --from-patter='*.target' | dot -Tsvg > targets.svg + systemd-analyze dot --to-pattern='*.target' --from-pattern='*.target' | dot -Tsvg > targets.svg $ eog targets.svg + + Environment + + + + $SYSTEMD_PAGER + + + Pager to use when is not + given; overrides $PAGER. Setting this to + an empty string or the value cat is + equivalent to passing + . + + + + + See Also