From d1d8786c5b4493cc0f9836b1976f2cd41bfb461c Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Tue, 13 Sep 2022 16:13:16 +0200 Subject: analyze: extend the dump command to accept patterns The new function DumpPatterns() can be used to limit (drastically) the size of the data returned by PID1. Hence the optimization of serializing data into a file descriptor should be less relevant than having the possibility to limit the data when communicating with the service manager remotely. NB: when passing patterns, the dump command omits the version of the manager as well as the features and the timestamps. --- man/systemd-analyze.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'man/systemd-analyze.xml') diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml index 13b881cfc7..cce08fa121 100644 --- a/man/systemd-analyze.xml +++ b/man/systemd-analyze.xml @@ -43,6 +43,7 @@ systemd-analyze OPTIONS dump + PATTERN @@ -243,10 +244,12 @@ multi-user.target @47.820s - <command>systemd-analyze dump</command> + <command>systemd-analyze dump [<replaceable>pattern</replaceable>…]</command> - This command 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. + Without any parameter, this command outputs a (usually very long) human-readable serialization of + the complete service manager state. Optional glob pattern may be specified, causing the output to be + limited to units whose names match one of the patterns. The output format is subject to change without + notice and should not be parsed by applications. Show the internal state of user manager -- cgit v1.2.1