Re: Comportement de bash: kill des fils

Pàgina inicial

Reply to this message
Autor: laurent.dieudonne
Data:  
A: ML Guilde
Assumpte: Re: Comportement de bash: kill des fils
Selon Frederic Mantegazza <mantegazza@???>:

> Le mieux est de lire la page de manuel de kill(2). Extrait:
>
>        The kill system call can be used to send any signal to any
>        process group or process.

>
>        If pid is positive, then signal sig is sent to pid.

>
>        If pid equals 0, then sig is sent to every process in  the
>        process group of the current process.

>
>        If pid equals -1, then sig is sent to every process except
>        for the first one.

>
>        If pid is less than -1, then sig is sent to every  process
>        in the process group -pid.

>
>        If sig is 0, then no signal is sent, but error checking is
>        still performed.

>
> Ca aide a comprendre comment fonctionne la commande kill(1)


Oui, c'est vrai!! Je n'avais toujours lu que le 'man kill', pas le
'man 2 kill'! Ca aide...

Laurent