Re: Faster 'du' command



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@xxxxxxxxxx
Member #1, Red Hat Community Ambassador Program

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • RE: Quota Problem
    ... command to direct the "this command completed successfully" output to a file ... directory - thus the error if quota exceeded. ... On the client,we may start the problematic computer in safe mode to ... Edit all instances of the TMP and TEMP environment variables so ...
    (microsoft.public.windows.server.general)
  • Re: Disk Quotas
    ... On Sun, 2004-07-11 at 19:13, Kostas Sfakiotakis wrote: ... The "quotacheck" command ... And yes, unless the whole procedure has been followed, there is no quota ... quota on the "/" filesystem. ...
    (Fedora)
  • Re: Process Quota Tuning
    ... > I have one DCL command procedure in which you pass the PID of the process to ... It monitors a few quota levels retrievable through F$GETJPI, ... $ on control_y then exit ...
    (comp.os.vms)
  • Re: Disk Quotas
    ... Kostas, ... >> Am a little bit scared on running this command for the root ... I ensure that the regular user writable filesystems do ... > can then place a quota on those filesystems only. ...
    (Fedora)
  • Problem with chroot, uids and quota
    ... I have installed openssh-portable with the chroot option enabled. ... can login and execute the commands I supplied in their chroot'ed home ... If I login as the chrooted user and type the command quota by itself I get ... when executing the quota command with the user name appended I get: ...
    (freebsd-questions)