From owner-freebsd-questions@FreeBSD.ORG Tue Nov 27 22:45:20 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0B7D16A418 for ; Tue, 27 Nov 2007 22:45:20 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by mx1.freebsd.org (Postfix) with ESMTP id AE3C813C459 for ; Tue, 27 Nov 2007 22:45:20 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout2.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id lARMitEK031045 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 27 Nov 2007 14:44:56 -0800 X-Auth-Received: from [128.208.7.160] (shiina.dyn.cs.washington.edu [128.208.7.160]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id lARMitbd028710 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 27 Nov 2007 14:44:55 -0800 In-Reply-To: <005901c8313f$f7048b70$0d00a8c0@bayoucshaffer> References: <005901c8313f$f7048b70$0d00a8c0@bayoucshaffer> Mime-Version: 1.0 (Apple Message framework v752.2) X-Gpgmail-State: !signed X-Priority: 3 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Garrett Cooper Date: Tue, 27 Nov 2007 14:41:40 -0800 To: "Mark Evans" X-Mailer: Apple Mail (2.752.2) X-PMX-Version: 5.3.3.310218, Antispam-Engine: 2.5.2.313940, Antispam-Data: 2007.11.27.141248 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='BODY_SIZE_400_499 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __HAS_X_PRIORITY 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Cc: questions@freebsd.org Subject: Re: ls -l takes a forever to finish. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2007 22:45:20 -0000 On Nov 27, 2007, at 1:53 PM, Mark Evans wrote: > I'm using FreeBSD 6.1-RELEASE. When I run "ls -l" it takes forever > for the it to complete. top shows that the "ls -l" command uses > about 98% of the CPU doing the time. If I run "ls" I do not > experience any problem. anyone have any ideas? > > Thanks > Mark That's incredibly strange because ls is a simple program... Could you attach gdb to ls and find out where it's eating up all of your CPU time? -Garrett