From 9ea9d4cf1656075559fcd6aeceb9530714c87d5b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 26 Jul 2013 16:34:52 +0200 Subject: systemctl: move "dump" command from systemctl to systemd-analyze It's an analysis command and its format is explicitly not covered by any stability guarantees, hence move away from systemctl and into systemd-analyze, minimizing the already large interface of systemctl a bit. This patch also adds auto-paging to the various systemd-analyze commands where that makes sense --- man/systemctl.xml | 9 --------- man/systemd-analyze.xml | 39 ++++++++++++++++++++++++++++++++++++++- 2 files changed, 38 insertions(+), 10 deletions(-) (limited to 'man') diff --git a/man/systemctl.xml b/man/systemctl.xml index ee13a70fef..06c8c18465 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -993,16 +993,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service all pending jobs. - - dump - - Dump server status. This will output a (usually very - long) human readable manager status dump. Its format is - subject to change without notice and should not be parsed by - applications. - - list-dependencies NAME diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml index f5a9424248..905b44b6d9 100644 --- a/man/systemd-analyze.xml +++ b/man/systemd-analyze.xml @@ -82,6 +82,11 @@ dot PATTERN + + systemd-analyze + OPTIONS + dump + @@ -127,7 +132,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 +148,12 @@ 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. + If no command is passed, systemd-analyze time is implied. @@ -228,6 +239,14 @@ unless specified with a different unit, e.g. "50ms". + + + + + + Do not pipe output into a pager. + + @@ -256,6 +275,24 @@ $ 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 -- cgit v1.2.3-54-g00ecf