On 06.10.2011 16:17, Dan Candea wrote:
> ip ro sh via /nexthop/ | wc -l
> mai putine procese ;)
>

[root@gw ~]# time ip ro sh via a.b.c.d | wc -l
258102

real    0m3.036s
user    0m1.905s
sys    0m1.936s

[root@gw ~]# time ip route | grep -c ethX.Y
258102

real    0m3.441s
user    0m4.718s
sys    0m1.697s

deci progres ... mai lasati-ma bre cu numaratu' ... nu mai vreau sa numar :)

_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui