Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Interesting question & answer about "kill -9 <PID>"

6 views
Skip to first unread message

Arlen Holder

unread,
Nov 17, 2020, 1:46:48 PM11/17/20
to
Interesting question & answer about "kill -9 <PID>"
that came up in the Android newsgroup just now

(1) Here is an example of the "kill -9 <PID>" shortcut in action:
<https://i.postimg.cc/vTkv7Grh/settings03.jpg> ps -aux | kill -9 <PID>
Arlen
<https://groups.google.com/g/comp.mobile.android/c/_1oTdgCIpkc/m/utpwC8iFAAAJ>

(2) I have to wonder why anyone would kill with anything else but -9!
The Real Bev
<https://groups.google.com/g/comp.mobile.android/c/_1oTdgCIpkc/m/fHZAR0i5AAAJ>

(3) I always kill without '-9' first.
A kill 9 kills but resources can be left hanging, used, and thus,
not possible to reclaim by other processes. Sometimes you have to
reboot to recover.
It is better to try a default kill signal, which basically tells
the application to quit, so it has a chance to close files
and return other resources it may have grabbed.
Only when it fails, as a last resource, use a 9.
Carlos
<https://groups.google.com/g/comp.mobile.android/c/_1oTdgCIpkc/m/wfsk4cS6AAAJ>

Andrei Z.

unread,
Nov 18, 2020, 1:56:22 AM11/18/20
to
"Mastering the "Kill" Command in Linux"

https://www.maketecheasier.com/kill-command-in-linux/
0 new messages