Marduk a écritsinon un ti truc que j'ai decouvert y pas longtemps :
dans la console :
ps -x <- affiche les processus avec leur id
kill -9 "id du processus"
et ca le tue instantanement 🙂
En esperant pas dire trop de conneries
ps -x donne les PIDs uniquement du user loggué dans la console.
ps aux le fait pour tous les users.
kill -9 est à éviter autant que possible, c'est le dernier recours. C'est une tres mauvaise habitude de faire un (p)kill -9 par defaut, in faut essayer sans signal ( ce qui envoi -15 par defaut ) puis essayer -2 et -1. Si ca ne marche toujours pas, alors utiliser -9.
Voir
man 7 signal
Useless Use of Kill -9 form letter
(Quote abomination)
No no no. Don't use kill -9.
It doesn't give the process a chance to cleanly:
1) shut down socket connections
2) clean up temp files
3) inform its children that it is going away
4) reset its terminal characteristics
and so on and so on and so on.
Generally, send 15, and wait a second or two, and if that doesn't
work, send 2, and if that doesn't work, send 1. If that doesn't,
REMOVE THE BINARY because the program is badly behaved!
Don't use kill -9. Don't bring out the combine harvester just to tidy
up the flower pot.
Just another Useless Use of Usenet,
http://partmaps.org/era/unix/award.html#uuk9letter