Find busiest directory in filesystem

2007-12-25 2:45:00

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 at 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.

Comments

Got something to say?

You must be logged in to post a comment.