Re: Why does printing the route table take so long?

Top Page
Attachments:
Message as email
+ (text/plain)
+ signature.asc (application/pgp-signature)
Delete this message
Reply to this message
Author: Ted Gould
Date:  
To: plug-discuss
Subject: Re: Why does printing the route table take so long?
On Thu, 2004-03-04 at 01:19, Entelin wrote:
> Why does printing the route table take so long? Something thats always
> bothered me a bit.


How long does your's take?

ted@davinci:~$ time netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
192.168.1.0     0.0.0.0         255.255.255.0   U        40 0          0
eth1
0.0.0.0         192.168.1.1     0.0.0.0         UG       40 0          0
eth1


real    0m0.010s
user    0m0.010s
sys     0m0.000s
ted@davinci:~$


Perhaps you are not using the -n so there are DNS lookups?

        --Ted