Re: [HS] kill d'un processus
Hello
Merci pour ces precisions, je ne comprennais pas a quoi correspondait le
status 'Z', maintenant c bcp plus clair.
Du coup, lorsque le fils est fini j'envoie un signal au pere qui fait un
wait et donc plus de processus zombi :)
Merci pour vos reponses !
Fred
On Mon, 23 May 2005 17:58:32 +0200
Jean-Damien Durand <Jean-Damien.Durand@cern.ch> wrote:
> Soit dans le pere tu fais (pas recommende):
>
> signal(SIGCHLD,SIG_IGN);
>
> ou tu catche le signal SIGCHLD et tu boucles sur waitpid - n'oublie de
> regarder la man page de waitpid()...
>
> JD.
>
> On Monday 23 May 2005 17:00, Frederic Beck wrote:
> FB > si je fais ps axf
>
> --
> Jean-Damien Durand CERN/IT/FIO/DS - Geneva, Switzerland
> PGP: http://home.cern.ch/~jdurand/public_key.asc
> CERN CA: http://cern.ch/service-grid-ca/crt/root_crt.html
> WWW: http://home.cern.ch/~jdurand
Reply to: