William Dod� a �crit, lundi 18 juin 2001, � 22:13 :
[...]
> Pour l'instant j'utilise wmppp sur windowmaker qui m'indique le temps en
> fait, mais ce que je cherche c'est � avoir le cumul...
Le cumul du jour :
awk "/$(LC_ALL=C date '+%b %e').+Connect time/{t+=\$8};\
END{print t,\"mn\"}" /var/log/ppp.log
(mais le temps de n�gociation du modem n'est pas compris)
> merci
de rien.
--
(�> Jacques L'helgoualc'h -�) -�)
//\ /\\ /\\
V_/_ http://www.debian-france.org/ _\_V _\_V
FAQ Debian http://www.ens-lyon.fr/~mquinson/debian/faq-french/