Descriptionsystemd-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