command for how to list large files
Problem Description
=====================
How to check the large files in the file system?
Quite often we have a space issue in our file system. I wrote the script to check the size of the FS. Once it is over 90% user receives email notification. Now I wanted to tell them check large file in the System. Probably some files are unnecessary growing.
I need to know command for how to list large files existed in the FS. thanks
Answer
-------------------------------------
you can get files info as
# find $ORACLE_HOME -size +1000k -exec ls -ltrh {} \;
How to check the large files in the file system?
Quite often we have a space issue in our file system. I wrote the script to check the size of the FS. Once it is over 90% user receives email notification. Now I wanted to tell them check large file in the System. Probably some files are unnecessary growing.
I need to know command for how to list large files existed in the FS. thanks
Answer
-------------------------------------
you can get files info as
# find $ORACLE_HOME -size +1000k -exec ls -ltrh {} \;
0