Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am running a Redhat EL4 server. When I issued the df command, I found that the mount point / has been used 70%. Everyday I issued the same df command and found that the used space keep increasing 1% every day.
I need to know which file(s) is eating the space, and tried to use the command du. However, it seems that it is not easy to trace the cause. Does anyone know how to do that?
That will give you the top 10 biggest directories starting at the / directory. You can change / to any directory you want and you can change 10 to the number of directories you want listed. The m gives it in megabytes and the x stays on the local system( wont show remote mounted directories)
Let me tell you more about my system. I am running a cluster servers, say eform1 & eform2 servers. Both are using oc4j and running a Java app.
The interesting things is, I try to use a freeware Kdirstat to compare the files on both servers. However, I found that the total subtree size for the '/' folder are the same, which is 350M.
Then, I try to type df -h on both servers, the used size are 840M & 669M respectively. And only eform1 server has the file size increment problem, but not the eform2 server.
You can take a look to the screen dump as attached.
Thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.