Page 1 of 1

How to kill ums with terminal or script ?

Posted: Fri May 08, 2020 8:55 pm
by David0325
Hello,
Using Ubuntu 18.04, UMS works fine on my system, that is not the purpose. In the aim to close, or kill, every applications running in background with one script, before I will connect or I use personal activity, I want to know how to close or kill UMS from terminal, or with script ? Thanks in advance

Re: Hwo to kill ums with terminal or script ?

Posted: Fri May 08, 2020 9:10 pm
by Nadahar
UMS should react to sigterm.

Re: Hwo to kill ums with terminal or script ?

Posted: Fri May 08, 2020 9:20 pm
by David0325
ok, and what is the command?

Re: Hwo to kill ums with terminal or script ?

Posted: Fri May 08, 2020 10:18 pm
by Nadahar
Sigterm is a "signal", not a command. I don't know all the different ways it can be sent, but I know that you can the the "kill" command to send it. Just make sure to send digterm, not sigkill.

Re: Hwo to kill ums with terminal or script ?

Posted: Sat May 09, 2020 12:02 am
by David0325
I'm a beginner and sure of nothing. Could you tell me the full command to kill or close ums ?

Re: How to kill ums with terminal or script ?

Posted: Sat May 09, 2020 12:40 am
by Nadahar
Sorry, I don't use Linux on a regular basis, and there are so many different distros with different rules. If you search for how to send sigterm I'm sure you can find out. My guess is that you could use "killall" with the correct parameters.

Re: How to kill ums with terminal or script ?

Posted: Sat May 09, 2020 12:51 am
by Nadahar