As a Database Administrator , The most encountered in the database server is disk space problem. And we ask frequently which directory and files is top directory and files ?
there is not enough space on the disk or mount point, we should delete some files like log files, trace files, core dumps etc..
To solve disk space problem, we should learn that which directories or files are the biggest size. If we learn the biggest size directory and files, we can start from them if delete it is posssible or not.
You can use following query to learn the biggest size directory and files
du -k * | sort -nr | cut -f2 | xargs -d '\n' du -sh |more
Do you want to learn Linux System Administration for Beginners, then read the following articles.
1,110 views last month, 2 views today