On Mon, 14 Jul 2008 13:59:08 -0500, Klein, Kevin <[EMAIL PROTECTED]> wrote:
>We have a zFS file at 4GB so it can't expand. It happens to be our root
>file system and it's full so I'm not able to create any more directories
>off the root. We don't think we should have 4GB of data on this file.
>Is there a way to see which directories and/or files are using this
>space, short of doing an "ls" on every directory?
>
Find the largest dirs:
cd /
du -s * | sort -rn
Then change the dir to the one you want to look at:
cd /something
du -a | sort -rn
Or better since there may be a lot of output:
du -a | sort -rn > /u/userid/files.txt
Mark
--
Mark Zelden
Sr. Software and Systems Architect - z/OS Team Lead
Zurich North America / Farmers Insurance Group - ZFUS G-ITO
mailto:[EMAIL PROTECTED]
z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/
Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html