Linux Operating System (MOSC)

MOSC Banner

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 {} \;

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center