Kamran Agayev's Oracle Blog

Oracle Certified Master

Archive for January 23rd, 2012

Finding the folder that consumes more space in Linux OS

Posted by Kamran Agayev A. on 23rd January 2012

Sometimes we got some folders filled with unknown files either due to any bug where Oracle creates 100 files in a second :) or due to the OS bugs. And in some cases we’re not able to find in which folder files were created. For that, you can use the simplest command in Linux to get the output for the folders with its size sorted. Here’s the command:

[php]du -s /u01/* | sort -n -r

…….

28G     /u01/oracle/product/10.2.0/db_1/flash_recovery_area

……..[/php]

 

From the output you will get the folder which consumes more space

Posted in Administration, Oracle on Linux | 4 Comments »