How to kill ums with terminal or script ?

For help and support with Linux-specific issues
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
David0325
Posts: 25
Joined: Wed Apr 29, 2015 6:22 pm

How to kill ums with terminal or script ?

Post by David0325 » Fri May 08, 2020 8:55 pm

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

Nadahar
Posts: 1854
Joined: Tue Jun 09, 2015 5:57 pm

Re: Hwo to kill ums with terminal or script ?

Post by Nadahar » Fri May 08, 2020 9:10 pm

UMS should react to sigterm.

David0325
Posts: 25
Joined: Wed Apr 29, 2015 6:22 pm

Re: Hwo to kill ums with terminal or script ?

Post by David0325 » Fri May 08, 2020 9:20 pm

ok, and what is the command?

Nadahar
Posts: 1854
Joined: Tue Jun 09, 2015 5:57 pm

Re: Hwo to kill ums with terminal or script ?

Post by Nadahar » Fri May 08, 2020 10:18 pm

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.

David0325
Posts: 25
Joined: Wed Apr 29, 2015 6:22 pm

Re: Hwo to kill ums with terminal or script ?

Post by David0325 » Sat May 09, 2020 12:02 am

I'm a beginner and sure of nothing. Could you tell me the full command to kill or close ums ?

Nadahar
Posts: 1854
Joined: Tue Jun 09, 2015 5:57 pm

Re: How to kill ums with terminal or script ?

Post by Nadahar » Sat May 09, 2020 12:40 am

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.

Nadahar
Posts: 1854
Joined: Tue Jun 09, 2015 5:57 pm

Re: How to kill ums with terminal or script ?

Post by Nadahar » Sat May 09, 2020 12:51 am


Post Reply