Afficher un message
Vieux 19/05/2006, 08h41   #5
Stephane Chazelas
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: shell script et processus asynchrones

2006-05-18, 22:37(+02), Emmanuel Dreyfus:
> Stephane Chazelas <cette.adresse@est.invalid> wrote:
>
>> C'est quoi "kill -INFO", BTW?

>
> Ca dit à dd de dire où il en est.

[...]

Ma question etait plutot d'ou vient ce SIGINFO. Ce n'est pas un
signal POSIX ou Unix. Apparemment, c'est du BSD. Ce signal peut
etre generé par un driver de terminal sur reception du control-character
"status" (par defaut <Ctrl-T>).

C'est pas con.

http://www.freebsd.org/cgi/man.cgi?q...SD+6.0-RELEASE

| STATUS Special character on input and is recognized if the ICANON flag
| is set. Receipt of this character causes a SIGINFO signal to be
| sent to the foreground process group of the terminal. Also, if
| the NOKERNINFO flag is not set, it causes the kernel to write a
| status message to the terminal that displays the current load
| average, the name of the command in the foreground, its process
| ID, the symbolic wait channel, the number of user and system sec-
| onds used, the percentage of cpu the process is getting, and the
| resident set size of the process.

Ca n'a meme pas l'air d'etre recent, ca a l'air d'avoir deja ete
la dans FreeBSD 1.0 et ses ancetres. Premiere fois que j'en
/entends/ parler.

--
Stéphane
  Réponse avec citation
 
Page generated in 0,05995 seconds with 9 queries