Memory usage display problem
Dear There,
I am new to linux, and having a problem. One of our server shows like below when i type the command [root@host root]# df -lh Filesystem Size Used Avail Use% Mounted on /dev/hda5 7.7G 4.6G 2.8G 63% / /dev/hda1 76M 8.2M 64M 12% /boot none 506M 0 506M 0% /dev/shm /dev/hda8 84G 43G 37G 54% /home /dev/hda7 1012M 33M 928M 4% /tmp /dev/hda3 7.7G 1.7G 5.7G 23% /usr /dev/hda2 7.7G 7.4G 0 100% /var But when i connected to "/var" folder and see below, it is showing like [root@host var]# du -ksh 224M . By using the first command it says that 7.4 GB has been used. and the second command says that only 224 M has been used. Where is the problme...? |
Hi, and welcome to LQ!
You may have blasted away an open file. It won't show in ls or du, but the space it used to occupy is actually still in use (until you roll the process that held it). Cheers, Tink |
All times are GMT -5. The time now is 07:42 AM. |