How to find what is filling up the space
Hi all,
There is an NFS share on linux box and it is getting filled very fast. It is filling hundreds of GBs everyday. How can i find what is filling up the space ? thanks in advance! |
du -sh /path-to-device/*
Also lsof |grep path-to-device |
I prefer ncdu for such tasks. It should be available for almost any distribution and is quite handy, since its interactivity really can (and does) speed up to find the culprit.
|
thanks business_kid and TobiSGD,
will "ncdu" work on CentOS5/RHEL5 ? because i can't see it there on the ncdu page link. |
There are packages for ncdu: http://pkgs.org/centos-5-rhel-5/atom...86_64.rpm.html
|
thanks TobiSGD
but i got following error while trying to install ncdu Code:
# yum install ncdu |
Sorry, I am no CentOS user, can't help with that.
|
Hi TobiSGD,
sorry my bad, i tried to install 64bit rpm on 32 bit. i installed it now Code:
# rpm -qa | egrep 'atomic|ncdu' |
Just type
Code:
ncdu /path/to/your/share For more info type Code:
man ncdu |
All times are GMT -5. The time now is 02:33 PM. |