From owner-freebsd-questions@FreeBSD.ORG Wed Nov 28 16:25:23 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 022DC16A473 for ; Wed, 28 Nov 2007 16:25:23 +0000 (UTC) (envelope-from mbe2@bayou.com) Received: from smtp.bayou.com (smtp.bayou.com [209.209.192.40]) by mx1.freebsd.org (Postfix) with ESMTP id B8D6513C457 for ; Wed, 28 Nov 2007 16:25:22 +0000 (UTC) (envelope-from mbe2@bayou.com) Received: from bayoucshaffer (firewall.bayou.com [209.209.192.219]) by smtp.bayou.com (8.12.8/8.12.6) with SMTP id lASGPLkZ091014 for ; Wed, 28 Nov 2007 10:25:21 -0600 (CST) (envelope-from mbe2@bayou.com) Message-ID: <003101c831da$a405bc50$0d00a8c0@bayoucshaffer> From: "Mark Evans" To: References: <005901c8313f$f7048b70$0d00a8c0@bayoucshaffer> <474CA49D.50306@FreeBSD.org> <002001c831d5$80ad8670$0d00a8c0@bayoucshaffer> Date: Wed, 28 Nov 2007 10:20:50 -0600 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Scanned-By: MIMEDefang 2.49 on 209.209.192.40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 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: Wed, 28 Nov 2007 16:25:23 -0000 ls | wc=20 returns " 8836 8836 71583" Thanks Mark ----- Original Message -----=20 From: Jeff Mohler=20 To: Mark Evans=20 Cc: questions@freebsd.org=20 Sent: Wednesday, November 28, 2007 9:52 AM Subject: Re: ls -l takes a forever to finish. HOW large is the directory? ls | wc -l =20 On Nov 28, 2007 7:44 AM, Mark Evans wrote: No we are not using NIS. it is a large directory i am listing. actually it is the /usr/home directory, and is probably the largest on the system. However "ls = -l" runs for close to six minutesand spends the 10 seconds scrolling the = screen with=20 the results. so i wait ls to start showing the results for about 5 = and a half minutes. Even on a older and much slower system i've never = seen it talk more than 15 seconds to complete. Thanks Mark ----- Original Message ----- From: "Kris Kennaway" To: "Mark Evans" < mbe2@bayou.com> Cc: Sent: Tuesday, November 27, 2007 5:13 PM Subject: Re: ls -l takes a forever to finish.=20 > 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=20 >> the CPU doing the time. If I run "ls" I do not experience any = problem. >> anyone have any ideas? > > Are you using NIS for user/group lookups? > > Is it a large directory that is taking a long time to sort?=20 > > Kris > > > > -- > Internal Virus Database is out-of-date. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: = 4/3/2007=20 > 5:32 AM > > _______________________________________________ freebsd-questions@freebsd.org mailing list=20 http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to " = freebsd-questions-unsubscribe@freebsd.org" -------------------------------------------------------------------------= ----- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: = 4/3/2007 5:32 AM