Results 1 to 4 of 4
Hello,
I need some help with finding a large temp file. I know that this is being caused either by Oracle Reports of Oracle BI. I have 82GB filled in ...
- 10-15-2009 #1Just Joined!
- Join Date
- Apr 2009
- Posts
- 15
Need to find a large file
Hello,
I need some help with finding a large temp file. I know that this is being caused either by Oracle Reports of Oracle BI. I have 82GB filled in the /opt directory but when I run a du -h or a du -ha it only shows 17GB total in opt. Can someone let me know what other command I can use to find what file is chewing up the rest of the directory?
Thanks,
Nick
- 10-15-2009 #2Just Joined!
- Join Date
- Apr 2009
- Posts
- 15
Found the issue using lsof | fgrep \(deleted\)
I restarted the application at fault so I know at least what caused it.
- 10-15-2009 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
You need to figure out what other directories are in that mount besides /opt. It could be that /tmp or some is in the same file system.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 10-21-2009 #4
You can use find to search for files over a certain size:
Just replace {size_in_kb} with some large value (1000000 for 1 GB).Code:find /opt -size +{size_in_kb}k -exec ls -lh {} \;


Reply With Quote