On a similar note, you can use the statfs syscall command to check the size and usage of your file systems. You can easily create a Rexx exec to monitor things and alert you when the sizes are above a certain threshold. Probably there are other ways, too...
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/BPXZB670/3.123 Something like this maybe as a starting point: /* Rexx */ If Syscalls('ON') > 3 Then do Say 'Unable to establish SYSCALL environment.' Exit 99 End Address SYSCALL fsname = 'SYSZFS.ROOT.TOR19A' "statfs (fsname) st." Say "Allocated space " st.STFS_INUSE Say "Total space " st.STFS_TOTAL Say "Total free blocks" st.STFS_BFREE Say "Percent used " st.STFS_INUSE / st.STFS_TOTAL * 100 -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Mark Zelden Sent: 14. heinäkuuta 2008 23:48 To: [email protected] Subject: Re: Unix System Services File Space Used 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 ---------------------------------------------------------------------- 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

