diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-13 16:03:03 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-15 08:50:40 +0100 |
commit | 97ab9dfc0d13b142c19335cc53cfd77f96cd2aab (patch) | |
tree | ac0e3a9c3cff180a22db798cfa003416c4845142 /src/cryptenroll | |
parent | 86beb21302082e9df0aa8576b89fd29c9e1a43be (diff) | |
download | systemd-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 'src/cryptenroll')
0 files changed, 0 insertions, 0 deletions