summaryrefslogtreecommitdiff
path: root/man/standard-options.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-02-13 16:03:03 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-02-15 08:50:40 +0100
commit97ab9dfc0d13b142c19335cc53cfd77f96cd2aab (patch)
treeac0e3a9c3cff180a22db798cfa003416c4845142 /man/standard-options.xml
parent86beb21302082e9df0aa8576b89fd29c9e1a43be (diff)
downloadsystemd-97ab9dfc0d13b142c19335cc53cfd77f96cd2aab.tar.gz
systemctl,loginctl,machinectl: add --signal=list
This lists numerical signal values: $ systemctl --signal list SIGNAL NAME 1 SIGHUP 2 SIGINT 3 SIGQUIT ... 62 SIGRTMIN+28 63 SIGRTMIN+29 64 SIGRTMIN+30 This is useful when trying to kill e.g. systemd with a specific signal number using kill. kill doesn't accept our fancy signal names like RTMIN+4, so one would have to calculate that value somehow. Doing systemctl --signal list | grep -F RTMIN+4 is a nice way of doing that.
Diffstat (limited to 'man/standard-options.xml')
-rw-r--r--man/standard-options.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/man/standard-options.xml b/man/standard-options.xml
index 848439119e..4565a43b24 100644
--- a/man/standard-options.xml
+++ b/man/standard-options.xml
@@ -73,7 +73,8 @@
<option>SIGTERM</option>.</para>
<para>The special value <literal>help</literal> will list the known values and the program will exit
- immediately.</para>
+ immediately, and the special value <literal>list</literal> will list known values along with the
+ numerical signal numbers and the program will exit immediately.</para>
</listitem>
</varlistentry>
</variablelist>