Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2007 07:52:12 -0800
From:      "Jeff Mohler" <speedtoys.racing@gmail.com>
To:        "Mark Evans" <mbe2@bayou.com>
Cc:        questions@freebsd.org
Subject:   Re: ls -l takes a forever to finish.
Message-ID:  <a969fbd10711280752v7d38070x5f34d9d652ec4f7f@mail.gmail.com>
In-Reply-To: <002001c831d5$80ad8670$0d00a8c0@bayoucshaffer>
References:  <005901c8313f$f7048b70$0d00a8c0@bayoucshaffer> <474CA49D.50306@FreeBSD.org> <002001c831d5$80ad8670$0d00a8c0@bayoucshaffer>

next in thread | previous in thread | raw e-mail | index | archive | help
HOW large is the directory?

ls | wc -l



On Nov 28, 2007 7:44 AM, Mark Evans <mbe2@bayou.com> 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
> 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" <kris@FreeBSD.org>
> To: "Mark Evans" <mbe2@bayou.com>
> Cc: <questions@FreeBSD.org>
> Sent: Tuesday, November 27, 2007 5:13 PM
> Subject: Re: ls -l takes a forever to finish.
>
>
> > 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?
> >
> > Are you using NIS for user/group lookups?
> >
> > Is it a large directory that is taking a long time to sort?
> >
> > 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
> > 5:32 AM
> >
> >
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a969fbd10711280752v7d38070x5f34d9d652ec4f7f>