Find busiest directory in filesystem

From: Lance Tost (lance.tost_at_respironics.com)
Date: 01/28/04

  • Next message: Brad Heck: "Veritas 3.5 and Guides"
    Date: Wed, 28 Jan 2004 15:09:42 -0500 (EST)
    To: Sun Managers <sunmanagers@sunmanagers.org>
    
    

    Does anyone have a method for finding the busiest directories in a
    filesystem? iostat is telling me that the device that /var is on is
    fairly busy.

    I know about the standard things that go on in /var (like logging to
    /var/adm/messages and /var/log/syslog and queuing mail)... so I can
    manually go watch these to see if they're busy... but rather than
    guessing, I'd like a tool/script that would list the busiest directories
    under /var.... anyone have this?

    This is a UFS filesystem, BTW.

    Thanks

    -- 
    Lance Tost, Systems Engineer
    lance.tost@respironics.com
    ========================================================================
    CONFIDENTIALITY NOTICE
    ----------------------
    This message, together with any attachments, may be legally privileged
    and is confidential information intended only for the use of the
    individual or entity to which it is addressed.  It is exempt from
    disclosure under applicable law including court orders.  If you are not
    the intended recipient, you are hereby notified that any use,
    dissemination, distribution or copy of this message, or any attachment,
    is strictly prohibited.  If you have received this message in error,
    please notify the original sender and delete this message, along with
    any attachments, from your computer.
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers
    

  • Next message: Brad Heck: "Veritas 3.5 and Guides"

    Relevant Pages

    • Re: Unmounting Floppy Problem
      ... > unmount it I get an error message saying the device is busy. ... some process has an open file on that filesystem, ... the tail command has an open file on the /dev/fd0 filesystem, ... the ls command has an open directory on the dev/fd0, ...
      (comp.os.linux.misc)
    • Re: Missing Files After Panic/Fsck?
      ... >> Ocasionally, if a node is really busy and panics, when the filesystem gets ... >Thinking from the Sun Cluster side, and I'm sure VCS too, no amount of ...
      (comp.unix.solaris)
    • Re: Missing Files After Panic/Fsck?
      ... >> Ocasionally, if a node is really busy and panics, when the filesystem gets ... >Thinking from the Sun Cluster side, and I'm sure VCS too, no amount of ...
      (comp.sys.sun.admin)
    • Re: Problem with AIX 5.1 ML3, jfs2 and the Apache webserver
      ... > the filesystem, it tells me, that the requested resource is busy. ... Lsof didn't have JFS2 support until 4.67. ...
      (comp.unix.aix)