Stephen Frazier wrote:

I have seen that over time the df command shows the amount of free
space is
decreasing. Is their a command the will show how much space each
subdirectory is
using? I would like to track down where the space is going.

Start in the highest-level directory that you're concerned about. Issue
the command:

   du -sk * | sort +0nr

This will give you a nice list, sorted in descending order by the amount
of space taken by each file and subdirectory. Space hogs will appear at
the top of the list, with space usage listed in terms of 1k blocks.
Then repeat the process in each of the lower-level space hogs.

(I've just performed this exercise on one of our systems!)

Eric

--
Eric Chevalier                          E-mail: [EMAIL PROTECTED]
                                          Web: www.tulsagrammer.com
   Is that call really worth your child's life?  HANG UP AND DRIVE!

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to