Ich habe nur Kill Switch Flags mit einem Schlafprozess getestet.Unterschied zwischen "Killed" und "Terminated"
Zuerst versuchte ich es getötet mit -15
[email protected]:~/Desktop/expermiments$ ps cax | grep 10005
10005 pts/2 S+ 0:00 sh
[email protected]:~/Desktop/expermiments$ kill -15 10005
Und der Prozess wurde
beendet[email protected]:~/Desktop/expermiments$ sh testscript.sh
This is a script which sleeps for few seconds ..
Terminated
Dann tötete ich sie mit - 9
[email protected]:~/Desktop/expermiments$ ps -ef | grep testscript.sh
xtechkid 10059 9852 0 13:48 pts/2 00:00:00 sh testscript.sh
xtechkid 10064 10007 0 13:48 pts/4 00:00:00 grep --color=auto testscript.sh
[email protected]:~/Desktop/expermiments$ kill -9 10059
Und der Prozess wurde getötet
Was ist der Unterschied?