Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> [oracle-l] Re: OT: Solaris: Finding the cause for disk space growth

[oracle-l] Re: OT: Solaris: Finding the cause for disk space growth

From: DENNIS WILLIAMS <DWILLIAMS_at_LIFETOUCH.COM>
Date: Fri, 23 Jan 2004 11:53:43 -0600
Message-ID: <0186754BC82DD511B5C600B0D0AAC4D607AFFDC8@EXCHMN3>


Naveen - Are you using autoextend on any of your datafiles?

Dennis Williams
DBA
Lifetouch, Inc.
dwilliams_at_lifetouch.com

-----Original Message-----
From: Jared.Still_at_radisys.com [mailto:Jared.Still_at_radisys.com] Sent: Friday, January 23, 2004 11:39 AM
To: Multiple recipients of list ORACLE-L Subject: Re: OT: Solaris: Finding the cause for disk space growth

One way to determine where to start looking is via find:

find / -mtime -1 -type f -print | xargs ls -ld

This will find all files touched within the list day.

If you get the gnu version of find, you can use '-mmin -30' to find all files touched in the last 30 minutes.

You can then play with sort, and sort on the size of the file and pipe it through head to see the most recently touched files.

eg.

find /u03 -mtime -1 -type f -print | xargs ls -ld | sort -nr -k5.1|head -5

This command finds all files in the /u03 file system that have been touched in the last day, pipes it to ls, sorts in reverse by file size and then shows you the five largest files.

You can run this on /, it will probably take several minutes.

Jared

        "Naveen, Nahata (IE10)" <Naveen.Nahata_at_honeywell.com> Sent by: ml-errors_at_fatcity.com

 01/23/2004 12:44 AM
 Please respond to ORACLE-L

        
        To:        Multiple recipients of list ORACLE-L
<ORACLE-L_at_fatcity.com> 
        cc:         
        Subject:        OT: Solaris: Finding the cause for disk space growth



Hi All,   

Sorry for an OT question, but nowhere else to go. Pretty new to Solaris so might be a naive question. Need a pointer on how to do this.   

The disk space in the machine is constantly decreasing. And I want to know which files/directories are growing.   

Is there any way to find out?   

Regards
Naveen Received on Fri Jan 23 2004 - 11:53:43 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US