Faster 'du' command
Ed Wilts
ewilts at ewilts.org
Mon Feb 27 18:38:13 UTC 2006
On Mon, Feb 27, 2006 at 09:36:30AM -0800, Jonathan Chen -X (jonachen - The Armada Group, Inc. at Cisco) wrote:
> Is there a command that works similar to 'du' with the switch '-sm' to
> show a directory much faster? Currently I'm running that comand with a
> wildcard on /users directory and it takes hours to complete. If there
> is not such command, is there combo command or ways to have something
> like 'du -sm /users/*' to show up much faster?
Thinking outside of the box, if you implemented quotas, you could run a
quota report fairly quickly. Users could have an infinite quota so they
wouldn't be impacted, but you'd still be able to get your reports
quickly.
.../Ed
--
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program
More information about the redhat-list
mailing list