diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-01 14:52:46 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-01 22:30:03 -0500 |
commit | d9855d87eb18ed6f5161904c38fc19c075a7d89a (patch) | |
tree | a540196b22c13bb19b1051356d1b99292390ea48 /man | |
parent | bc06be753346784e19151814b5b9c01c624317f2 (diff) |
cgls: add --unit to show units
$ systemd-cgls -u systemd-journald.service machine.slice
I opted for a "global" switch, instead of modifying the behaviour of just one
argument. It seem to be a more useful setting, since usually one will want to
query one or more units, and not mix unit names with paths.
Closes #5156.
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd-cgls.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/man/systemd-cgls.xml b/man/systemd-cgls.xml index e8f0368f48..91d0c0b1bb 100644 --- a/man/systemd-cgls.xml +++ b/man/systemd-cgls.xml @@ -54,6 +54,12 @@ <arg choice="opt" rep="repeat">OPTIONS</arg> <arg choice="opt" rep="repeat">CGROUP</arg> </cmdsynopsis> + <cmdsynopsis> + <command>systemd-cgls</command> + <arg choice="opt" rep="repeat">OPTIONS</arg> + <arg choice="plain"><option>--unit</option></arg> + <arg choice="opt" rep="repeat">UNIT</arg> + </cmdsynopsis> </refsynopsisdiv> <refsect1> @@ -96,6 +102,14 @@ </varlistentry> <varlistentry> + <term><option>-u</option></term> + <term><option>--unit</option></term> + + <listitem><para>Show cgroup subtrees for the specified units.</para> + </listitem> + </varlistentry> + + <varlistentry> <term><option>-k</option></term> <listitem><para>Include kernel threads in output. |