Tu peux utiliser le man pour plus de compréhension :
man resolv.conf :
......
search Search list for host-name lookup. The search list is normally
determined from the local
domain name; by default, it contains only the local domain
name. This may be changed by
listing the desired domain search path following the search
keyword with spaces or tabs
separating the names. Most resolver queries will be attempted
using each component of the
search path in turn until a match is found. Note that this
process may be slow and will
generate a lot of network traffic if the servers for the listed
domains are not local, and
that queries will time out if no server is available for one of
the domains.
.......
Nico.
----- Mail Original -----
De: "François TOURDE" <[EMAIL PROTECTED]>
À: [email protected]
Envoyé: Lundi 19 Mai 2008 11:33:48 GMT +01:00 Amsterdam / Berlin / Berne / Rome
/ Stockholm / Vienne
Objet: Re: Daemon qui scrute un fichier de log
Le 14018ième jour après Epoch,
[EMAIL PROTECTED] écrivait:
> Salut à tous, je souhaiterais faire un petit script ( un deamon en
> fait ) qui scruterait les fichiers de logs ( d'iptables par exemple )
> et lancerait des actions suite à çà. Mais le problème c'est que je ne
> sais pas comment faire sans faire une attente active. Si vous avez des
> suggestions, je suis preneur ;).
Tout dépends de ce que tu entends par attente active...
Sinon, tu peux utiliser:
- L'appel select() en C
- Le daemon famd
- la commande shell "tail -F"
--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/DebFrFrenchLists
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/DebFrFrenchLists
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]