From owner-freebsd-questions Thu Jan 2 00:53:34 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id AAA23700 for questions-outgoing; Thu, 2 Jan 1997 00:53:34 -0800 (PST) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id AAA23692 for ; Thu, 2 Jan 1997 00:53:20 -0800 (PST) Received: (from smap@localhost) by gatekeeper.barcode.co.il (8.7.5/8.6.12) id KAA04139; Thu, 2 Jan 1997 10:52:59 +0200 (IST) X-Authentication-Warning: gatekeeper.barcode.co.il: smap set sender to using -f Received: from localhost.barcode.co.il(127.0.0.1) by gatekeeper.barcode.co.il via smap (V1.3) id sma004137; Thu Jan 2 10:52:39 1997 Message-ID: <32CB7707.7697@barcode.co.il> Date: Thu, 02 Jan 1997 10:51:19 +0200 From: Nadav Eiron X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m) MIME-Version: 1.0 To: shegonee@ix.netcom.com CC: questions@freebsd.com, tony-o@iij.ad.jp Subject: Re: netstat -r References: <1.5.4.32.19970102182533.006790d8@popd.ix.netcom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk shegonee@ix.netcom.com wrote: > > My Petium 120 is running FreeBSD 2.1. When I run the command netstat -r from > the command line with user ppp running, it takes this command several minutes > at best to complete. Why does it take so long? What is is doing that is taking > so much time(name lookup?)? Is there any way to improve the performance? > Kirk :) Name lookup is usually a cause of long timeouts. To check it out, simply try netstat -rn. This will skip the lookups and display all address numerically. If it runs fast, then the problem is name lookup. Nadav