Link to home
Start Free TrialLog in
Avatar of ki121497
ki121497

asked on

My disk is filling up - Help with "find"

Hello
We are noticing that our /data filesystem is filling up - about an hour ago it was at 87%, now it is at 91%.

We would like to try to use "find" to see what
file is being produced that is growing and causing
the disk to fill.  We already know it is not a runaway process, and that a user program is running, but we
cannot detect which file it is creating.  We run:

ls -l `find /data -size +40000 -atime -1 -print`  | more
We get a list of files that exceed 40000 Kbytes (this is on SUN Solaris 2.5.1) but it does not list any files we suspect - more static files we already know are large, but not changing.   We then tried a modifier of:

  -atime 0

hoping this would show us what was created today, but it did not seem to work.
 
Can anyone suggest how we can use "find" to display files created today, or within a certain time frame, say a few hours?
Avatar of ozo
ozo
Flag of United States of America image

-mtime -1
-newer newfile
ASKER CERTIFIED SOLUTION
Avatar of dhughes111797
dhughes111797

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ki121497
ki121497

ASKER


 used options -mtime -1
              -mtime -2