n'avez-vous pas un alias de grep, quelque chose comme "alias grep='grep --color=auto' " ? chez moi ça marche avec une Ubuntu 10.10, mais j'ai remplacé "grep" par "/bin/grep"... Bonne soirée, Paul
2011/5/8 Arnaud <[email protected]> > Le 08. 05. 11 13:02, Félix Hauri a écrit : > >> ou même ça, pour l'affichage sur une ligne à chaque fois: > >> $ ps aux | grep sleep | grep -v "grep sleep" | gawk '{ printf "%s;%s;", > >> $1, $7; system("date -d ""\"now +"$12"secs\"") }' > >> > > Hem non, ce n'est pas encoee ça: l'heure affichée ne correspond à rien. > > Chez moi, ça affiche la date et l'heure à laquelle j'ai lancé le sleep. > Mon bon, je n'utilise pas/plus de distribution debian/ubuntu ^^ > > C'est peut-être que ce n'est pas le champ 12 sur ce genre de distribution. > _______________________________________________ > gull mailing list > [email protected] > http://forum.linux-gull.ch/mailman/listinfo/gull >
_______________________________________________ gull mailing list [email protected] http://forum.linux-gull.ch/mailman/listinfo/gull
