My disk is filling up - Help with "find"
Posted on 1997-12-14
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:
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?