X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd-analyze.xml;h=c7a25985ca9a116299626f112bb57e36383895f8;hp=f5a94242480163b82741fb1954a88c0874b0054c;hb=becad8f1ed696433b9841cbb9c4603c303338d30;hpb=e9dd9f9547350c7dc0473583b5c2228dc8f0ab76 diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml index f5a942424..c7a25985c 100644 --- a/man/systemd-analyze.xml +++ b/man/systemd-analyze.xml @@ -21,7 +21,8 @@ along with systemd; If not, see . --> - + systemd-analyze @@ -81,6 +82,18 @@ OPTIONS dot PATTERN + > file.dot + + + systemd-analyze + OPTIONS + dump + + + systemd-analyze + OPTIONS + set-log-level + LEVEL @@ -88,8 +101,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 +141,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 +157,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. @@ -155,19 +183,19 @@ - - + - Prints a short help - text and exits. + Shows performance data + of user sessions instead of the system + manager. - + Shows performance data - of user sessions instead of the system - manager. + of the system manager. This is the + implied default. @@ -179,12 +207,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 +256,13 @@ unless specified with a different unit, e.g. "50ms". + + + + + + + @@ -235,7 +270,7 @@ Exit status - On success 0 is returned, a non-zero failure + On success, 0 is returned, a non-zero failure code otherwise. @@ -250,12 +285,14 @@ $ 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 + + See Also