Home Explore Blog CI



man-pages

22th chunk of `systemctl.man`
537c1e0680bba9930c90a743c298c963b958391b945669040000000100000fa2
 --failed to show only failed units.

           As a special case, if one of the arguments is help, a list of allowed values will be printed and the program will exit.

       -p, --property=
           When showing unit/job/manager properties with the show command, limit display to properties specified in the argument. The argument should be a comma-separated list of property names, such as "MainPID". Unless
           specified, all known properties are shown. If specified more than once, all properties with the specified names are shown. Shell completion is implemented for property names.

           For the manager itself, systemctl show will show all available properties, most of which are derived or closely match the options described in systemd‐system.conf(5).

           Properties for units vary by unit type, so showing any unit (even a non-existent one) is a way to list properties pertaining to this type. Similarly, showing any job will list properties pertaining to all jobs.
           Properties for units are documented in systemd.unit(5), and the pages for individual unit types systemd.service(5), systemd.socket(5), etc.

       -P
           Equivalent to --value --property=, i.e. shows the value of the property without the property name or "=". Note that using -P once will also affect all properties listed with -p/--property=.

       -a, --all
           When listing units with list-units, also show inactive units and units which are following other units. When showing unit/job/manager properties, show all properties regardless whether they are set or not.

           To list all units installed in the file system, use the list-unit-files command instead.

           When listing units with list-dependencies, recursively show dependencies of all dependent units (by default only dependencies of target units are shown).

           When used with status, show journal messages in full, even if they include unprintable characters or are very long. By default, fields with unprintable characters are abbreviated as "blob data". (Note that the
           pager may escape unprintable characters again.)

       -r, --recursive
           When listing units, also show units of local containers. Units of local containers will be prefixed with the container name, separated by a single colon character (":").

       --reverse
           Show reverse dependencies between units with list-dependencies, i.e. follow dependencies of type WantedBy=, RequiredBy=, PartOf=, BoundBy=, instead of Wants= and similar.

       --after
           With list-dependencies, show the units that are ordered before the specified unit. In other words, recursively list units following the After= dependency.

           Note that any After= dependency is automatically mirrored to create a Before= dependency. Temporal dependencies may be specified explicitly, but are also created implicitly for units which are WantedBy= targets
           (see systemd.target(5)), and as a result of other directives (for example RequiresMountsFor=). Both explicitly and implicitly introduced dependencies are shown with list-dependencies.

           When passed to the list-jobs command, for each printed job show which other jobs are waiting for it. May be combined with --before to show both the jobs waiting for each job as well as all jobs each job is waiting
           for.

       --before
           With list-dependencies, show the units that are ordered after the specified unit. In other words, recursively list units following the Before= dependency.

           When passed to the list-jobs command, for each printed job show which other jobs it is waiting for. May be combined with --after to show both the jobs waiting for each job as well as all jobs each job is waiting
           for.

       --with-dependencies
           When used with status, cat, list-units, and list-unit-files, those commands print all specified units and the dependencies of those units.

   

Title: systemctl Options: Properties, Display Control, and Dependency Exploration
Summary
This section details various `systemctl` options, including `-P` for showing property values only, `-a/--all` for displaying inactive units/all properties/full journal messages, `-r/--recursive` for showing container units, `--reverse` for reverse dependencies, `--after` and `--before` for temporal dependencies, and `--with-dependencies` for including unit dependencies in output.