From 09514fbcaf51f1c12b651420e24400ff7319c638 Mon Sep 17 00:00:00 2001 From: joshuazivkovic Date: Wed, 14 Dec 2022 12:31:22 +0000 Subject: [PATCH] systemd-analyze: Update man/systemd-analyze.xml with Plot JSON and table (cherry picked from commit dc57a3387bbe7770491f35e0d993f411237636b5) Resolves: RHEL-5070 --- man/systemd-analyze.xml | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml index 0d91cdd7d0..5ba0d40fa0 100644 --- a/man/systemd-analyze.xml +++ b/man/systemd-analyze.xml @@ -274,8 +274,8 @@ Timestamp units-load-finish: Thu 2019-03-14 23:28:07 CET <command>systemd-analyze plot</command> - This command prints an SVG graphic detailing which system services have been started at what - time, highlighting the time they spent on initialization. + This command prints either an SVG graphic, detailing which system services have been started at what + time, highlighting the time they spent on initialization, or the raw time data in JSON or table format. <command>Plot a bootchart</command> @@ -1204,7 +1204,17 @@ $ systemd-analyze verify /tmp/source:alias.service corresponds to a higher security threat. The JSON version of the table is printed to standard output. The MODE passed to the option can be one of three: which is the default, and - which respectively output a prettified or shorted JSON version of the security table. + which respectively output a prettified or shorted JSON version of the security table. + + With the plot command, genereate a JSON formatted output of the raw time data. + The format is a JSON array with objects containing the following fields: name + which is the unit name, activated which is the time after startup the + service was activated, activating which is how long after startup the service + was initially started, time which is how long the service took to activate + from when it was initially started, deactivated which is the time after startup + that the service was deactivated, deactivating whcih is the time after startup + that the service was initially told to deactivate. + @@ -1235,6 +1245,21 @@ $ systemd-analyze verify /tmp/source:alias.service other paths. + + + + When used with the plot command, the raw time data is output in a table. + + + + + + + When used with the plot command in combination with either + or , no legends or hints are included in the output. + + +