|
From: | David De La Harpe Golden |
Subject: | Re: improving network utility calls in lisp/net/net-utils.el |
Date: | Fri, 10 Apr 2009 17:40:25 +0100 |
User-agent: | Mozilla-Thunderbird 2.0.0.19 (X11/20090103) |
Yoni Rabkin wrote:
The attached patch runs netstat asynchronously and all of the essentially instantaneous processes synchronously (ifconfig, iwconfig, arp and route).
Only "near-instant" if your network isn't somehow acting up, sorry, async is just the Right Thing here.If you don't suppress dns resolution (-n) during routing table output for example, you potentially pause for a fair old while if there's problems with dns lookups (which could be caused by, oh, let's see, network routes being wrong...). Much the same applies to arp tables
[Prev in Thread] | Current Thread | [Next in Thread] |