[systemd-devel] Antw: [EXT] Re: Q: systemctl kill: "Invalid who argument 15862"

Reindl Harald h.reindl at thelounge.net
Wed May 6 11:20:54 UTC 2020


Am 06.05.20 um 11:49 schrieb Ulrich Windl:
>>>> Reindl Harald <h.reindl at thelounge.net> schrieb am 06.05.2020 um 11:24 in
> Nachricht
> <11141_1588757087_5EB2825F_11141_72_1_3a082624-966b-a922-f8b9-ef0bb69c32f0 at thelo
> nge.net>:
> 
>>
>> Am 06.05.20 um 11:21 schrieb Ulrich Windl:
>>> # systemctl kill -s HUP --kill-who=15862 iotwatch at LOC1.service 
>>>
>>> Did I misinterpret the manual page, or what is the problem?
>>>
>>>        --kill-who=
>>>            When used with kill, choose which processes to send a signal to.
>>>            Must be one of main, control or all to select whether to kill 
>> only
>>>            the main process, the control process or all processes of the 
>> unit
>>
>> 15862 !== main !== control !== all
> 
> Harald,
> 
> In the part you are not quoting is: "Main PID: 15862" 

but that changes

> So what do you want to tell us? I could not even find out which programming language can parse the line above.

that it accepts the words "main", "control" or "all" and not an arbitary
number

> In case you don't want to answer, please do so, but don't answer with useless messages.

Must be one of main, control or all to select whether to kill is what it
is: "main", "control" or "both"


More information about the systemd-devel mailing list