View previous topic :: View next topic |
Author |
Message |
nuts Veteran
Joined: 10 Jan 2004 Posts: 1630
|
Posted: Mon May 28, 2007 6:54 pm Post subject: [killall/kill] des processus qu'on peut pas tuer |
|
|
la question est bete, j'ai nero linux qui a planté suite a un faut contact sur la prise d alim de mon graveur, rien de grave le pc reste operationnel.
je demande a tuer nero, mais ca marche pas j'ai beau faire des killall -9 ou -15 a tout va et ca tue pas nero, il reste present.
comment faire pour killer sans quitter ma session ou redemarrer ? _________________ nuts
PC: AMD Phenom 2 bi-core 555 + Asus M4A77T/USB3 + 2Go de RAM + wifi Ralink RT61 + Radeon HD 3450 - Disque dur 500Go.
SGI Octane ip30 R10000 |
|
Back to top |
|
|
gbetous l33t
Joined: 15 Jan 2004 Posts: 679 Location: Toulouse
|
Posted: Mon May 28, 2007 7:06 pm Post subject: |
|
|
t'as tenté un coup de xkill ? _________________ Core2Quad Q6600
ASUS P5B-V (i965 video intégrée)
~amd64 / KDE
|
|
Back to top |
|
|
nuts Veteran
Joined: 10 Jan 2004 Posts: 1630
|
Posted: Mon May 28, 2007 7:12 pm Post subject: |
|
|
oui et sans succés
y a pas un truc radical? ou alors est ce que ca depend d un autre process ? comment savoir ? _________________ nuts
PC: AMD Phenom 2 bi-core 555 + Asus M4A77T/USB3 + 2Go de RAM + wifi Ralink RT61 + Radeon HD 3450 - Disque dur 500Go.
SGI Octane ip30 R10000 |
|
Back to top |
|
|
davidou2a Guru
Joined: 15 Dec 2006 Posts: 574 Location: Ajaccio
|
Posted: Mon May 28, 2007 7:18 pm Post subject: |
|
|
et ??? _________________ L'enfer je connais, il s'appelle Windows... |
|
Back to top |
|
|
nuts Veteran
Joined: 10 Jan 2004 Posts: 1630
|
Posted: Mon May 28, 2007 7:22 pm Post subject: |
|
|
marche pas.
je comprends pas pourquoi il y a certaines application qui ne fonctionne pas au kill _________________ nuts
PC: AMD Phenom 2 bi-core 555 + Asus M4A77T/USB3 + 2Go de RAM + wifi Ralink RT61 + Radeon HD 3450 - Disque dur 500Go.
SGI Octane ip30 R10000 |
|
Back to top |
|
|
gbetous l33t
Joined: 15 Jan 2004 Posts: 679 Location: Toulouse
|
Posted: Mon May 28, 2007 7:24 pm Post subject: |
|
|
tu dois pas les killer "à la racine", tu dois juste killer un fils, le père le détecte et en relance un ?
au passage, t'as essayé en root ? _________________ Core2Quad Q6600
ASUS P5B-V (i965 video intégrée)
~amd64 / KDE
|
|
Back to top |
|
|
nuts Veteran
Joined: 10 Jan 2004 Posts: 1630
|
Posted: Mon May 28, 2007 7:25 pm Post subject: |
|
|
le coup du pere et fils, ca ne me parle plus trop, et en root, marche po _________________ nuts
PC: AMD Phenom 2 bi-core 555 + Asus M4A77T/USB3 + 2Go de RAM + wifi Ralink RT61 + Radeon HD 3450 - Disque dur 500Go.
SGI Octane ip30 R10000 |
|
Back to top |
|
|
gbetous l33t
Joined: 15 Jan 2004 Posts: 679 Location: Toulouse
|
Posted: Mon May 28, 2007 7:28 pm Post subject: |
|
|
nuts wrote: | le coup du pere et fils, ca ne me parle plus trop |
en fait, je suppose qu'il y a plusieurs process, et que tu killes pas forcément le bon ?
que donne par exemple un "ps -ef | grep -i nero" ? _________________ Core2Quad Q6600
ASUS P5B-V (i965 video intégrée)
~amd64 / KDE
|
|
Back to top |
|
|
nuts Veteran
Joined: 10 Jan 2004 Posts: 1630
|
Posted: Mon May 28, 2007 7:36 pm Post subject: |
|
|
Code: | nuts@kapoue ~ $ ps -ef | grep -i nero
nuts 25450 7269 2 20:28 ? 00:01:39 [nero] <defunct>
nuts 25564 7269 0 20:39 ? 00:00:00 nero
nuts 28010 1 0 20:48 ? 00:00:00 nero
|
donc y a le nero planté, et puis par curioausité je l'ai relancé deux fois. _________________ nuts
PC: AMD Phenom 2 bi-core 555 + Asus M4A77T/USB3 + 2Go de RAM + wifi Ralink RT61 + Radeon HD 3450 - Disque dur 500Go.
SGI Octane ip30 R10000 |
|
Back to top |
|
|
gbetous l33t
Joined: 15 Jan 2004 Posts: 679 Location: Toulouse
|
Posted: Mon May 28, 2007 7:46 pm Post subject: |
|
|
en cherchant un peu, je suis tombé sur l'option qui tue : --forest !
en tapant tu vois une jolie arborescence. ton process <defunct> regarde si il a un père, et tente de le tuer...
EDIT : je viens de lire un peu, et apparemment on ne peut pas tuer un <defunct>. il est déjà mort !!! c'est juste qu'il y a un père qui attend son fils... donc faut tuer le père pour être tranquille que c'est cruel tout ça !!! _________________ Core2Quad Q6600
ASUS P5B-V (i965 video intégrée)
~amd64 / KDE
|
|
Back to top |
|
|
nuts Veteran
Joined: 10 Jan 2004 Posts: 1630
|
Posted: Mon May 28, 2007 7:50 pm Post subject: |
|
|
Code: | nuts@kapoue ~ $ ps -ef --forest
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 18:32 ? 00:00:00 init [3]
root 2 1 0 18:32 ? 00:00:00 [ksoftirqd/0]
root 3 1 0 18:32 ? 00:00:00 [watchdog/0]
root 4 1 0 18:32 ? 00:00:00 [events/0]
root 5 1 0 18:32 ? 00:00:00 [khelper]
root 6 1 0 18:32 ? 00:00:00 [kthread]
root 46 6 0 18:32 ? 00:00:01 \_ [kblockd/0]
root 47 6 0 18:32 ? 00:00:00 \_ [kacpid]
root 165 6 0 18:32 ? 00:00:00 \_ [ata/0]
root 166 6 0 18:32 ? 00:00:00 \_ [ata_aux]
root 167 6 0 18:32 ? 00:00:00 \_ [ksuspend_usbd]
root 170 6 0 18:32 ? 00:00:00 \_ [khubd]
root 172 6 0 18:32 ? 00:00:00 \_ [kseriod]
root 194 6 0 18:32 ? 00:00:00 \_ [pdflush]
root 195 6 0 18:32 ? 00:00:01 \_ [pdflush]
root 196 6 0 18:32 ? 00:00:05 \_ [kswapd0]
root 197 6 0 18:32 ? 00:00:00 \_ [aio/0]
root 331 6 0 18:32 ? 00:00:00 \_ [scsi_eh_0]
root 332 6 0 18:32 ? 00:00:00 \_ [scsi_eh_1]
root 394 6 0 18:32 ? 00:00:00 \_ [kpsmoused]
root 401 6 0 18:32 ? 00:00:00 \_ [reiserfs/0]
root 584 1 0 18:32 ? 00:00:00 /sbin/udevd --daemon
root 2408 1 0 18:32 ? 00:01:23 /sbin/mount.captive-ntfs /dev/hda1 /mnt/windows -o rw,umask=0000
captive 23330 2408 0 18:50 ? 00:00:28 \_ /usr/libexec/captive-sandbox-server
root 2412 1 1 18:32 ? 00:02:08 /sbin/mount.captive-ntfs /dev/sda1 /progs -o rw,umask=0000
root 5454 1 0 18:32 ? 00:00:00 /usr/sbin/syslog-ng
101 6412 1 0 18:32 ? 00:00:00 /usr/bin/dbus-daemon --system
root 6462 1 0 18:32 ? 00:00:00 /usr/sbin/cron
102 6615 1 0 18:32 ? 00:00:00 /usr/sbin/hald --use-syslog
root 6616 6615 0 18:32 ? 00:00:00 \_ hald-runner
102 6640 6616 0 18:32 ? 00:00:00 \_ /usr/libexec/hald-addon-acpi
root 7019 6616 0 18:33 ? 00:00:00 \_ /usr/libexec/hald-addon-storage
root 7025 6616 0 18:33 ? 00:00:00 \_ /usr/libexec/hald-addon-storage
root 6643 1 0 18:32 ? 00:00:00 /usr/sbin/entranced
root 6644 6643 3 18:32 tty7 00:05:59 \_ /usr/bin/X -quiet -nolisten tcp vt7 -auth /var/lib/:0.Xauth :0
root 6710 6643 0 18:32 ? 00:00:01 \_ /usr/libexec/entrance/entrance_login 7269 nuts :0
nuts 7269 6710 0 18:35 ? 00:01:29 \_ enlightenment
nuts 12445 7269 0 18:35 ? 00:00:00 \_ /usr/bin/enlightenment_fm
nuts 12462 7269 5 18:36 ? 00:10:08 \_ xmms
nuts 12499 7269 0 18:37 ? 00:00:00 \_ /bin/bash /usr/libexec/mozilla-launcher
nuts 12508 12499 4 18:37 ? 00:08:40 | \_ /usr/lib/mozilla-firefox/firefox-bin
nuts 12520 12508 0 18:37 ? 00:00:00 | \_ [netstat] <defunct>
nuts 12528 7269 0 18:37 ? 00:00:11 \_ xchat
nuts 12530 7269 0 18:37 ? 00:00:35 \_ /opt/skype/skype --resources-path /opt/skype/
nuts 22232 7269 2 18:49 ? 00:03:49 \_ wish /usr/bin/amsn
nuts 28847 22232 0 21:48 ? 00:00:00 | \_ [play] <defunct>
nuts 25450 7269 2 20:28 ? 00:01:39 \_ [nero] <defunct>
nuts 25564 7269 0 20:39 ? 00:00:00 \_ nero
nuts 28836 7269 0 21:48 ? 00:00:00 \_ Eterm
nuts 28837 28836 0 21:48 pts/1 00:00:00 \_ -bash
nuts 28854 28837 0 21:48 pts/1 00:00:00 \_ ps -ef --forest
root 6797 1 0 18:32 ? 00:00:00 /usr/bin/timidity -iA -B2,8 -Os -EFreverb=0
root 6927 1 0 18:33 ? 00:00:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
root 6951 1 0 18:33 ? 00:00:00 /usr/sbin/sshd
root 6995 1 0 18:33 ? 00:00:00 /usr/sbin/cupsd
clamav 7008 1 1 18:33 ? 00:02:10 /usr/sbin/clamd
clamav 7021 1 0 18:33 ? 00:00:00 /usr/bin/freshclam -d
root 7126 1 0 18:33 ? 00:00:00 /usr/sbin/smbd -D
root 7140 7126 0 18:33 ? 00:00:00 \_ /usr/sbin/smbd -D
root 16550 7126 0 19:06 ? 00:00:00 \_ /usr/sbin/smbd -D
root 7141 1 0 18:33 ? 00:00:00 /usr/sbin/nmbd -D
ivman 7168 1 0 18:33 ? 00:00:00 /usr/bin/ivman
root 7253 1 0 18:33 tty1 00:00:00 /sbin/agetty 38400 tty1 linux
root 7254 1 0 18:33 tty2 00:00:00 /sbin/agetty 38400 tty2 linux
root 7255 1 0 18:33 tty3 00:00:00 /sbin/agetty 38400 tty3 linux
root 7256 1 0 18:33 tty4 00:00:00 /sbin/agetty 38400 tty4 linux
root 7257 1 0 18:33 tty5 00:00:00 /sbin/agetty 38400 tty5 linux
root 7258 1 0 18:33 tty6 00:00:00 /sbin/agetty 38400 tty6 linux
nuts 12516 1 0 18:37 ? 00:00:00 /usr/libexec/gconfd-2 15
nuts 12534 1 0 18:37 ? 00:00:00 dbus-launch --autolaunch 96f3a64d6d687fafcdaa620045df1000 --binary-syntax
nuts 12535 1 0 18:37 ? 00:00:00 /usr/bin/dbus-daemon --fork --print-pid 10 --print-address 12 --session
nuts 28010 1 0 20:48 ? 00:00:00 nero |
_________________ nuts
PC: AMD Phenom 2 bi-core 555 + Asus M4A77T/USB3 + 2Go de RAM + wifi Ralink RT61 + Radeon HD 3450 - Disque dur 500Go.
SGI Octane ip30 R10000 |
|
Back to top |
|
|
gbetous l33t
Joined: 15 Jan 2004 Posts: 679 Location: Toulouse
|
Posted: Mon May 28, 2007 7:59 pm Post subject: |
|
|
ah... crotte... apparemment le père de ton nero ce serait... enlightment !
donc je pense qu'il n'y a pas de solution autre que de relancer une session. _________________ Core2Quad Q6600
ASUS P5B-V (i965 video intégrée)
~amd64 / KDE
|
|
Back to top |
|
|
nuts Veteran
Joined: 10 Jan 2004 Posts: 1630
|
Posted: Mon May 28, 2007 8:06 pm Post subject: |
|
|
ok tant pis, pas grave, de toute facon le pc a fini ce qu il avait a faire, c'est jsute que c'etait chiant de garder le splash de nero pendnat une heure en 1er plan _________________ nuts
PC: AMD Phenom 2 bi-core 555 + Asus M4A77T/USB3 + 2Go de RAM + wifi Ralink RT61 + Radeon HD 3450 - Disque dur 500Go.
SGI Octane ip30 R10000 |
|
Back to top |
|
|
babykart Guru
Joined: 08 Oct 2004 Posts: 415
|
Posted: Tue May 29, 2007 5:53 pm Post subject: |
|
|
en fait les processus affichés avec <defunct> sont des processus zombie donc déjà mort...
il y a un utilitaire en C qui permet de le faire: zkill
mais la seule manière de tuer un zombie est de tuer son père ou de le ré-initialiser, en l'occurence enlightment...
l'autre solution est de restarter enlightment... _________________ >> Gentoo-FR <<
----- |
|
Back to top |
|
|
lesourbe l33t
Joined: 24 Nov 2005 Posts: 710 Location: Champagne !
|
Posted: Wed May 30, 2007 9:16 am Post subject: |
|
|
si c'est toujours la même appli qui te fais ***, lance la dans un terminal... tu pourras tuer son père, Luke. _________________ Is that a banhammer ?
LeSourbe, Member of EPowerforce. |
|
Back to top |
|
|
_droop_ l33t
Joined: 30 May 2004 Posts: 957
|
Posted: Wed May 30, 2007 9:43 am Post subject: |
|
|
Code: | nuts 25450 7269 2 20:28 ? 00:01:39 \_ [nero] <defunct>
nuts 25564 7269 0 20:39 ? 00:00:00 \_ nero |
Tu essaie de tuer quel nero au final ?
Parce que le premier c'est normal que tu ne puisses pas, c'est un zombie. Par contre si c'est un zombie, il ne doit plus avoir de ressource associé (fenêtre, mémoire, utilisation cpu). |
|
Back to top |
|
|
|