Home Explore Blog CI



man-pages

5th chunk of `systemctl.man`
44a64efc305378d0273d7dbada3445a0b48ed1bfff8f76c40000000100000fa2
 specified, properties of the job are shown. By default, empty properties are suppressed. Use --all to show those too. To select specific properties to show, use --property=. This command is intended to be
           used whenever computer-parsable output is required. Use status if you are looking for formatted human-readable output.

           Many properties shown by systemctl show map directly to configuration settings of the system and service manager and its unit files. Note that the properties shown by the command are generally more low-level,
           normalized versions of the original configuration settings and expose runtime state in addition to configuration. For example, properties shown for service units include the service's current main process
           identifier as "MainPID" (which is runtime state), and time settings are always exposed as properties ending in the "...USec" suffix even if a matching configuration options end in "...Sec", because microseconds is
           the normalized time unit used internally by the system and service manager.

           For details about many of these properties, see the documentation of the D-Bus interface backing these properties, see org.freedesktop.systemd1(5).

       cat PATTERN...
           Show backing files of one or more units. Prints the "fragment" and "drop-ins" (source files) of units. Each file is preceded by a comment which includes the file name. Note that this shows the contents of the
           backing files on disk, which may not match the system manager's understanding of these units if any unit files were updated on disk and the daemon-reload command wasn't issued since.

       help PATTERN...|PID...
           Show manual pages for one or more units, if available. If a PID is given, the manual pages for the unit the process belongs to are shown.

       list-dependencies [UNIT...]
           Shows units required and wanted by the specified units. This recursively lists units following the Requires=, Requisite=, ConsistsOf=, Wants=, BindsTo= dependencies. If no units are specified, default.target is
           implied.

           The units that are shown are additionally filtered by --type= and --state= if those options are specified. Note that we won't be able to use a tree structure in this case, so --plain is implied.

           By default, only target units are recursively expanded. When --all is passed, all other units are recursively expanded as well.

           Options --reverse, --after, --before may be used to change what types of dependencies are shown.

           Note that this command only lists units currently loaded into memory by the service manager. In particular, this command is not suitable to get a comprehensive list at all reverse dependencies on a specific unit,
           as it won't list the dependencies declared by units currently not loaded.

       start PATTERN...
           Start (activate) one or more units specified on the command line.

           Note that unit glob patterns expand to names of units currently in memory. Units which are not active and are not in a failed state usually are not in memory, and will not be matched by any pattern. In addition,
           in case of instantiated units, systemd is often unaware of the instance name until the instance has been started. Therefore, using glob patterns with start has limited usefulness. Also, secondary alias names of
           units are not considered.

           Option --all may be used to also operate on inactive units which are referenced by other loaded units. Note that this is not the same as operating on "all" possible units, because as the previous paragraph
           describes, such a list is ill-defined. Nevertheless, systemctl start --all GLOB may be useful if all the units that should match the pattern are pulled in by some target which is known to be loaded.

       stop PATTERN...
           Stop (deactivate) one or more units specified on

Title: systemctl Commands: show, cat, help, list-dependencies, start, stop
Summary
This section describes several `systemctl` commands. `show` displays unit properties in a computer-parsable format, mapping to configuration settings. `cat` shows the backing files of units. `help` displays manual pages for units. `list-dependencies` shows units required and wanted by specified units. `start` activates one or more units. `stop` deactivates units.