Skip to contentSkip to conversation

killall can not kill xenomai programs

Xenomai Stéphane ANCELOT 2 participants 3 messages Aug 25, 2015 – Aug 27, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

killall is not working with xenomai programs.
killall uses "short" process name, we can see it in /proc/<pid>/stat (second item). unfortunately all processes name have for short name "main", and thus it does not work.

Hope this helps to solve the problem.

Regards,
S.Ancelot

#2 lore raw
Quoted 9 lines · Philippe Gerum
Quoted 8 lines · Stéphane ANCELOT

Hi,

killall is not working with xenomai programs.
killall uses "short" process name, we can see it in /proc/<pid>/stat (second item).
unfortunately all processes name have for short name "main", and thus it does not work.

Quoted 6 lines
Quoted 2 lines

Hope this helps to solve the problem.

This should help:

http://git.xenomai.org/xenomai-3.git/commit/?h=next&id=70700428810333bf60aef7a26d8a3f7f2a9ee949

It did.
Thanks